Bash
Find process running on port
To find what process is running on a specific port and stop it:
- List all running processes on a port number (3000 in this case):
lsof -i:3000
- Kill process by using the PID number (123 for example) of the process listed in the result of the previous command:
kill -9 123