Apache help please, whats using port 80

I’m on windows 10 and had previously run Apache, php, mysql on a windows xp box.I have done many hours trying to figure this out via google but no luck.

Apache,php are now on my win 10 ,no mysql yet
Apache has been set up to start automatically but it just keeps shutting down. From my research I’m beginning to think it is because something else is using port 80, localhost or localhost/info.php (from address bar) are both just getting a connection error

I believe at this stage I have installed everything correctly

I’m no guru, so could some-one please give me simple instructions on how to find what is using port 80.

all help appreciated

1 Like

Hi slow_eric welcome to the forum

If you go to
Start → Apps → Windows System you should see Command Prompt
>cd
>netstat

will hopefully show you what’s using port 80

1 Like

See http://www.felgall.com/win10a.htm for a page I wrote on how to solve this particular problem - that is to disable IIS so that APache can run on port 80 on Windows 10.

4 Likes

Hey thanks for the reply, it appears nothing is using port 80. Not sure if I’m posting in the correct forum ? there used to be an apache forum here

Thanks for the reply but its not IIS, it never was on. Seems to be a problem loading a driver VCRUNTIME140.dll. I downloaded it and put it in system22? folder as I couldnt find syswow folder, I think the syswow folder must be hidden. All this was sooo easy on my old XP box. Again thanks

I upgraded to Windows 10 and had the problem with Apache.

Windows uses the localhost port 80 for
World Wide Web Publishing Service
whether you want it to or not.

Following the steps given in the above page linked to did solve the problem for me.

additionally you can choose other ports like 8080, 9000, 8000

Generally skype also run on port 80. If skype is preinstalled on win 10, Apache won’t work.

Simply edit apache config files and run apache on available ports.

Thanks, but its not port 80 thats the problem although I have removed anything that could be a hazard on port 80, or I think I have. Truth is I’m the biggest hazard as I haven’t been on a computer for near on 7 years and have forgotten so much of the simple stuff.

Are you absolutely certain that you have disabled the IIS service 'World Wide Web Publishing Service ’ that Windows 10 installs and runs by default. If you haven’t disabled it then it will be causing the problem.

Its disabled. When I went into it is wasn’t checked. Spent a lot of time looking for it in “services” and reading the description for everything before I found that it wasn’t listed because it wasn’t running…

I’m the only user on this computer, is there any way I can be permanently logged in a Admin, its so frustrating trying to do things then finding out its not working because you need to switch to “Run as Admin”

Thanks in advance

That pretty much sums up none Microsoft development On Windows machines. Although it has gotten a lot better with VMs and vagrant. It does suck having to run programs as admin. I’m running a surface with vagrant and running the command prompt and my ide as admin sucks. However, that is a home machine so I’m fine.

Applications run on a normal Windows login. It is only services, utilities and a small number of programs written by idiots that need to run as admin.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.