Wednesday, August 19, 2015

Problem of Digital Ocean tomcat refusing to start properly


Following commands could be used to find out about the process which is listening to a particular port.

lsof -i :8000
ss -nlp | grep 8000
nmap
socklist
sudo netstat -tapen | grep ":8000 "


Ref: http://askubuntu.com/questions/278448/how-to-know-what-program-is-listening-on-a-given-port