- C:\>netstat -aon | findstr "4444" TCP 127.0.0.1:4444 0.0.0.0:0 LISTENING 2434 -
It can be seen from the above that the port is occupied by the process whose process number is 2434. Continue to execute the following command:
- C:\>tasklist | findstr "2434" javaw.exe 2434 Console 0 16,064 K -
In this way, you can easily kill javaw.exe to free up port 4444
-
from: http://chris-wang.iteye.com/blog/297663
-