I cannot host on port 80, because there is an application on the background, which hosts on port 80. How do I find out which program it is?
Get local application
ProcessID use port 80:
netstat -aon | findstr "LISTENING" | find /i ":80" | more
netstat -aon | find /i ":80" | more
Get application command line:
Wmic process where (ProcessId=<you application ProcessID>) get Commandline, ProcessId
Get service command line:
wmic Service where (ProcessID=<you application ProcessID>) Get Caption, Name, StartMode, State, PathName, ProcessId, StartName
Portqry 2.0 test port 80:
Portqry -local -wport 80 | findstr "LISTENING"
Portqry Support Tools test port 80 UDP and TCP:
Portqry -n 192.168.20.10 -p BOTH -e 80 -i -s
GUI TCPView v3.05:
Far manager get Service command line, PID: