How to stop Meteor?

Solution 1:

I use this command:

kill -9 `ps ax | grep node | grep meteor | awk '{print $1}'`

Or, I run this if I'm on my local machine to kill remote processes:

ssh [user]@[server] <<'ENDSSH'
kill -9 `ps ax | grep node | grep meteor | awk '{print $1}'`
exit
ENDSSH

Solution 2:

On OSX, go back to the term you opened to start meteor, and use CTRL+C to quit the process.

Solution 3:

if Meteor is running on :3000 port:

kill -9 $(lsof -i :3000 -t); 

Solution 4:

Similar to Fernando's response, if you're on OSX you can quit the processes node and mongod using Activity Monitor.

quitting node will stop the server. The database will still be running and accepting incoming connections, so quitting mongod will turn off the database.

Solution 5:

Enter command "Ctrl + C" on the terminal where the meteor process is running. This is the easiest way to kill the process in both Mac and Ubuntu. Not sure of Windows though.

Happy Coding!