If I close the browser tab and press Ctrl + Z to exit the current running meteor process, how do I start meteor again to restart the previous project?
I get the following error:
$ ~/current/meteor/project meteor
meteor Can't listen on port 3000. Perhaps another Meteor is running?
Running two copies of Meteor in the same application directory will not work. If something else is using port 3000, you can specify an alternative port with --port .
But specifying another port doesn't change the error message.
in Linux CTRL+Z suspends the program and bg
command sends it to background. You can type fg
command to get back to the program.
After getting back to program, you can close it by CTRL+C, then simply start it again by meteor
command.
You can also use the sudo killall -9 node
command to stop all meteor projects and then meteor
to start the one you want in your folder of choice.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With