I had a strange situation when I closed the terminal, but the server continued to work. When I tried to start the server again, I received a message stating that the server is still running. How can I stop the server through the command line?
Method 1 : just type: Ctrl + C in the terminal your server is running on.
Way 2 : Another way to do this:
In your terminal, learn the PIDprocess:
PID
$ lsof -wni tcp:3000
Then kill the process:
$ kill -9 PID
3. , rails :
rails
killall -9 rails
Ctrl + C .
Source: https://habr.com/ru/post/1613759/More articles:Any possible way to rasterize views in Android, as in iOS? - androidИспользование памяти идет вразрез с доской Doctrine bulk - phpWhy does free-run mode stop the negative appearance from working? - ruby | fooobar.comSelenium Remote Webdriver gives JSONDecodeError - python-3.5Не удается найти модуль _socket - pythonwhy table and tablebuilder in leveldb use struct rep? - c ++Package dependency package unavailable - rПочему мой интервал отмены AngularJS не работает - javascriptAdding minimal elements to a sequence - javaWho cares if I inherit an enumeration from a byte in C # - enumsAll Articles