How to stop Meteor?

前端 未结 14 1136
执念已碎
执念已碎 2020-12-07 14:45

The only answer on this question I saw - go start another copy on the different port. Switching from one Meteor workspace to another Okay, I see that I can run another one o

相关标签:
14条回答
  • 2020-12-07 15:16

    Enter command "Ctrl + C" on the terminal where you want to stop process is running. This is the easiest way to kill the process in both Mac and Ubuntu and Windows.And you can use "meteor run --port portnumber" to run the two or more projects at the same time

    0 讨论(0)
  • 2020-12-07 15:17

    if Meteor is running on :3000 port:

    kill -9 $(lsof -i :3000 -t); 
    
    0 讨论(0)
  • 2020-12-07 15:20

    the default port is 3000.If you want to run it in a different port use below meteor run --port 3030

    run this in two command prompt.If you want to stop use ctrl+c in necessary command prompt

    0 讨论(0)
  • 2020-12-07 15:22

    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.

    0 讨论(0)
  • 2020-12-07 15:24

    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!

    0 讨论(0)
  • 2020-12-07 15:25

    In my case (Ubuntu 11.10) I open the System Monitor and kill manually the node and mongod processes.

    Of course you can use also the terminal and kill these processes knowing their PID's.

    0 讨论(0)
提交回复
热议问题