Browsed by
Month: October 2019

Display apps and occupied ports (Linux)

Display apps and occupied ports (Linux)

PROBLEM: My app is not starting, because port is already in use! SOLUTION: Find it and kill it 🙂 netstat -tulpn Will provide nice table with all info you migh like, truncated outpus below:

sudo ss -tulpn More fresh, more detailed (i like it more than netstat)

Now you can find what is “eating” your ports and you are able to debug errors 🙂 Note: If you cannot see the PID, use sudo to execute the command