Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Port 80 is http port by default. So first of all, close all programs that use http (such as browsers, IM software and so on). Also I wouldn't recomend using this port in your program (unless it's a browser or smtg like it). – Searush Jun 22 '14 at 18:10
@SEARAS Let's not confuse the source and destination ports. Browsers use 80 port as destination port. – STTR Jun 22 '14 at 18:52
On a standard home computer it's often Skype, so before attempting any solutions listed below I suggest you check that first. – user256743 Jun 22 '14 at 21:13
up vote 8 down vote accepted

Get local application ProcessID use port 80:

netstat -aon | findstr "LISTENING" | find /i ":80" | more

var 2:

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 -p BOTH -e 80 -i -s

GUI TCPView v3.05:

(Click image to enlarge)

cmd: cmd

Far manager: Far manager

Far manager get Service command line, PID:

Far manager get Service command line, PID

share|improve this answer
It's linux terminal command. I tried it in cmd.exe, but windows can't find the command – Iter Ator Jun 22 '14 at 16:30
Not. Cmd and Far Manager at Microsoft Windows. See pic. – STTR Jun 22 '14 at 16:39
@IterAtor both netstat and wmic commands are working in cmd – Searush Jun 22 '14 at 18:15

Open command promt and type

netstat -a -n -o

that will show you all open ports and the process IDs associated with them. There you can find the PID which is responsible for port 80 being taken and find that PID in Task Manager.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.