I've recently upgraded my laptop to Win10 (from Win7). Since doing so I've discovered that something is running on Port 80 so my Apache Local Server won't work as it did. I got lost trying to detect what it was on Port 80 (it's not Skype), so I'm trying to set up Apache to use Port 8080.
I have succeeded up to a point. If I enter 'localhost:8080' in the browser address bar (Firefox FWIW), I get the test 'It works!' message. If I enter my usual virtual host names and append ':8080' it works too. But surely I should be able to get it to work with just 'localhost' etc?
I have set httpd.conf to 'Listen 8080'
I have tried setting the first line of the v-hosts definitions to <VirtualHost *:8080>
instead of the previous <VirtualHost 127.0.0.1>
but it makes no difference.
I have tried appending ':8080' after the ServerName
in the V-hosts file (which seems logical) but it doesn't work. I have also tried turning off my Kaspersky Internet Security (but obviously I don't like doing this too much). I have read several articles on Stack Overflow and elsewhere which come close to my problem, but they all assume that the steps I've taken already will be sufficient.
Is there something else I should have done?
Your first screenshot of tcpview
already shows the process blocking port 80. But it does not say 80
, it was translated into the name of the protocol running on port 80, which (usually) is http
.
In order to see 80
in the Local port
column you have to disable translation which can be done through the menu or by pressing Ctrl + R:
To see more details about the process which opened the port you might want to run procexp
(with an administrative account).
I think others had the same problem already and a solution to this can be found on a different site on stack exchange: https://superuser.com/questions/352017/pid4-using-port-80
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments