Hương Trang
New member
How do I stop a port from running on Ubuntu?
Answer
Kill Process on Port
First “sudo lsof -t -i:3000” will return the PID of the process running on port 3000. The above result shows 7279 is the PID of the process on port 3000. Now you can use
kill command to kill the process.
Answer
Kill Process on Port
First “sudo lsof -t -i:3000” will return the PID of the process running on port 3000. The above result shows 7279 is the PID of the process on port 3000. Now you can use
kill command to kill the process.