https://mkyong.com/linux/linux-which-application-is-using-port-8080/
1. lsof + ps command
lsof -i :8080
netstat -nlp | grep 8080
ps -ef | grep 10165
1. lsof + ps command
1.1 Bring up the terminal, type
lsof -i :8080
Note
If multiple result, try
If multiple result, try
lsof -i :8080 | grep LISTEN
1.2
PID 10165
is using port 8080, type ps -ef | grep 10165
to find out the application details.
Answer : IntelliJ IDEA + Tomcat 8 is using the port 8080.
2. netstat + ps command
Just different command to do the same thing.Type
netstat -nlp | grep 8080
to get the PID and ps
it.