I am using the port number 8001 for jetty but when I run it is giving following error.
66 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.15.v20140411 | FAILED [email protected]:8001: java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind
I checked online and I found out how to see if my port is used by some other service. After finding the port number through
netstat -a -n -o | find "8001"
command, I found out that the port "8001" is being used by system process with PID 4. I tried to disable the system service in services menu but it doesn't allow me to change anything for this process. How do I find out which application is using my port? is there any way I can find out which particular application is using my port number?
If you're working in a corporate environment, it might be CcmExec service. By default it uses port 8001.
You can also check
netsh http show servicestate