title: how to restart mongodb in terminal?
body: <p>I installed mongodb in VS code by <code>npm install mongodb</code>. And again I downloaded mongodb from official website and installed it as a windows service since I don't know if installing in vscode with <code>npm</code> is enough. It worked for a while.</p>
  <p>and now it doesn't work as my database connection with mongoose fails and nothing is running in 27017 port in localhost. Seems like server stopped.</p>
  <p>how to restart mongodb server? what's the CLI/terminal command etc for that?</p>