0
votes

I have PHP/Mysql/FastCGI running on Windows server 2008 which has been running fine for a while, now when trying to connect to localhost I get this

No connection could be made because the target machine actively refused it

I have tried turning the firewall off

I have tried restarting the server

Netstat -anb shows for port 80:

[svchost.exe] TCP 0.0.0.0:80 LISTENING

[svchost.exe] TCP [::1]:80 [::1]:49809 ESTABLISHED

Cannot obtain ownership information TCP [::1]:49809 [::1]:80 ESTABLISHED

Could this be the problem?

1
Connection refusal means that there was nothing listening at the target host:port, or, on Windows, that the listen backlog queue was full. You don't actually state that you were trying to connect to port 80. The fact that there was an existing connection wouldn't cause this problem. - user207421
I'm on the server using a browser to connect to localhost which worked fine up until recently, how do I check if IIS is listening> or that the listening backlog is full? Or how do I stop this? - jim smith
'netstat' will tell you what ports are listening. I'm not aware if any way to discover the backlog queue length or capacity. - user207421

1 Answers

0
votes

This was a problem with Mysql couldn't connect because the password was wrong