Reputation: 156
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
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
Reputation: 13
if you use Tomcat server go to the tomcat location -->bin and execute the command file "shutdown"
Upvotes: 0
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