Roxcly
Roxcly

Reputation: 156

cmd cant get what is listening to port 8080

been having an issue for a while where I cannot start java servers due to port 8080 already being in use. Searching around I have found answers which tells me to find what process is occupying the port, and kill it. Sounds easy enough.

However: No matter what netstat or other command I type trying to display process reveals anything on port 8080! if I try netstat -ano | find "8080", it returns nothing. If I restart my computer, and start the server quickly, it works, but its really annoying to develop like this. Its obvious something is binding the port, but I just can't figure what.

I am sorry if this seems like a duplicate, but the question differs by having a hidden process taking the port.

This is on Windows 10, build 15063

Upvotes: 4

Views: 10410

Answers (4)

Mike Adamenko
Mike Adamenko

Reputation: 3002

Use Resource Monitor on windows to see network stats and ports (tab Network)

To open the Resource Monitor type resmon.exe into the Start Menu search box and press Enter.

Or, you could open the Start Menu and go to "All Programs -> Accessories -> System Tools -> Resource Monitor".

If you prefer using your keyboard, press Ctrl+Shift+Esc or Ctrl+Alt+Del.

Upvotes: 2

The KNVB
The KNVB

Reputation: 3844

use the following command should be:

netstat -ano |findstr 8080

Upvotes: 3

Halgo
Halgo

Reputation: 13

if you use Tomcat server go to the tomcat location -->bin and execute the command file "shutdown"

Upvotes: 0

waterstoom
waterstoom

Reputation: 1

You can see which port is curently using by If you are using window Start->search for resource monitor->then network tab in resource monitor

Upvotes: 0

Related Questions