K
K
koi com2014-02-06 00:20:48
Windows
koi com, 2014-02-06 00:20:48

How to find out what port 8080 is occupying?

Recently, tomcat started not working) Or rather, it gave a 404 error in the face. There was such an exception in the trace java.lang.Exception: Socket bind failed: [730048] . I read on the net what kind of thing. As a result, I realized that port 8080 is already busy. I decided to check - I changed the port in the config and ... everything worked, I got a response. And so I want to learn than the port is occupied!! I use Windows 7 OC.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vlad Zhivotnev, 2014-02-06
@inkvizitor68sl

netstat -tunlp | grep 8080
The last column will contain the pid and the name of the processes you are looking for.

Y
Yuri Lobanov, 2014-02-06
@iiil

at the command prompt, type
etstat -o -n -a | findstr 0.0:8080
and then in the task manager in services by process ID find the service

S
stalker2011, 2014-02-06
@stalker2011

netstat -nap | grep :8080

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question