34

I updated my Windows 7 PC to Windows 10. When I start AMPPS it says port 80 is used by another program. What program uses port 80?

Alexander Rossa
  • 1,391
  • 1
  • 18
  • 30
xttrust
  • 575
  • 1
  • 4
  • 15
  • Is it possible that you may be running your own program multiple times? Consider adding tags to your question maybe `ampps` folks will spot it sooner. Is `ampps` compatible with Windows 10, have you checked their bugtracker for known bugs? – Olga Aug 05 '15 at 16:52
  • Possible duplicate of [How can you find out which process is listening on a port on Windows?](http://stackoverflow.com/questions/48198/how-can-you-find-out-which-process-is-listening-on-a-port-on-windows) – Sparky Jul 06 '16 at 19:08
  • 3
    @RachelGallen your condescending is based on ignorance. The OP is asking what is using port 80, making it so ampps cannot use it. You think that because http clients connect to servers via port 80 that your comment is clever. Actually though, "using the internet" will not occupy (bind to) port 80 in any way. Yes, it will connect to a server that is listening on port 80, but it itself will not use port 80 for anything. 1, and only 1, program can bind to a given port for an ip. Most programs, incl. those that "use the internet" never bind to ANY port (since they are not tcp servers). – Evan de la Cruz Jul 23 '16 at 20:45
  • @RachelGallen Um, I don't know what to say here. You are exactly correct. The port number for a web server is 80. a WEB SERVER. You originally commented "pretty much ALL OF THEM. you use the internet right?".. You said pretty much all programs use port 80. I hate to inform you, pretty much all programs are not web servers. – Evan de la Cruz Jul 24 '16 at 03:25
  • 2
    @RachelGallen I think you meant that pretty much all programs are web CLIENTS that will connect to some server on port 80. But that has nothing to do with the OPs questions, since virtually unlimited clients can connect to any port they want to at any time. They do not bind the port. In other words, web clients that connect to servers which are listening on port 80, do NOT occupy port 80 on the client machine. I have written countless HTTP clients and servers. I would not be commenting if I needed to do research. You are blatantly ignorant on this one. Sorry. – Evan de la Cruz Jul 24 '16 at 03:32
  • @EvandelaCruz: Considering the high percentage of bot-net-ed Windows PCs the original statement is possibly not _that_ far-fetched ;-)) – too honest for this site Feb 08 '17 at 15:50

3 Answers3

53

It's probably the W3SVC (World Wide Web Publishing Service) service. See the answer below:

https://stackoverflow.com/a/31229606/1532882

  1. Click the start menu
  2. Type in Services
  3. Sort by Name
  4. Scroll down to World Wide Web Publishing Service (W3SVC) and disable it

Per phpvillian's answer, you can also run the following to help determine the culprit (make sure you open the command line with elevated privileges, e.g. "Run as administrator"):

netstat -a -b 
Jake Z
  • 1,340
  • 1
  • 13
  • 25
  • It was actually this in my case, but does disabling it would cause something to my windows? – Carlos2W Jan 30 '16 at 17:52
  • If you are using IIS, then disabling this might adversely affect you. – Jake Z Feb 01 '16 at 16:04
  • 5
    I found that World Wide Web Publishing Service was the culprit. Running netstat -a -b didn't reveal anything useful (it said "Can not obtain ownership information") – james Jul 26 '17 at 18:20
  • 1
    @james Late reply, but you may need to "Run as administrator" for this command to work. Got to love annoying Windows restrictions. I'll update my answer. – Jake Z Aug 29 '17 at 07:09
  • 2
    Step 4: Scroll down to "World Wide Web Publishing Service" and disable it. – Craigo Jun 05 '18 at 00:45
  • All right! Disabled, thank you man – J. Fdez Jul 11 '18 at 06:43
  • Just a note for people coming here in 2019. This service gets re-enabled by some Windows 10 updates. I had mine disabled and it reactivated again. – JRSofty Apr 02 '19 at 06:13
11

You're likely referring to Skype as it's notorious to using port 80 without consideration. Open the command prompt and type netstat -a -b to get your answer. This question has been answered already and explains how to use netstat.

How can you find out which process is listening on a port on Windows?

Community
  • 1
  • 1
phpvillain
  • 366
  • 1
  • 12
3

I had same problem but already solved. You can find used port from Windows Firewall.

  1. Click Start > Settings > Ethernet >Network and Internet > Windows Firewall
  2. In the left pane, click Advanced Settings
  3. In Windows Firewall with Advanced Security, click Inbound Rules.
  4. Find Local Port 80 with Protocol TCP. in my case is "World Wide Web Services (HTTP Traffic-In)"
  5. Once you find it, stop or disable that rule from Windows Services (World Wide Web Publishing Service).

if needed restart your pc.

Ahmet agha
  • 91
  • 1
  • 2
  • 11
wavebrain
  • 41
  • 2