Page 1 of 1

Unable to access http://localhost

PostPosted: 15. July 2011 23:47
by marvolo1300
Hi,

My problem is that httpd.exe using alot of CPU and also I am unable to access http://localhost on port 80.

I was using Appserv for the longest time, but then i decided to try out Wamp. After not like wamp so much, i switched to Xampp (It has worked before on my pc). Now xampp won't work due to the reasons stated above. So far ive tried changing the port in httpd.conf to 1000 but i still have the same problem.

Re: Unable to access http://localhost

PostPosted: 16. July 2011 00:13
by marvolo1300
Does this forum speak english?

Re: Unable to access http://localhost

PostPosted: 16. July 2011 09:01
by Sharley
marvolo1300 wrote:I am unable to access http://localhost on port 80.
Is there an entry in the \xampp\apache\logs\error.log file that may hold a clue?

Try and start Apache using the \xampp\apache_start.bat file as this may provide a response that contains a clue.

You have had many servers installed on your PC and if you did not uninstall or disable them completely ie. left a Windows service uninstalled then this may also give this port 80 issue.

Check using the SCM button in the XAMPP Control Panel and look for running services from any of your old installations - first remove any ticks in the Svc check boxes in XCP.

So check what is using port 80 and port 443 as well as port 3306 and remove the offending programs as XAMPP requires exclusive use of those ports.

A useful portable app for testing ports is Curr Ports from here:
http://www.nirsoft.net/utils/cports.html

marvolo1300 wrote:Does this forum speak english?
BTW, as per forum etiquette, please be patient and do try not to be sarcastic as this will only give rise to either being ignored completely or at least cause members to reply even slower and could even draw a flame response. ;)

Re: Unable to access http://localhost

PostPosted: 16. July 2011 17:15
by marvolo1300
Im sorry if i sounded sarcastic it's just because google showed me this in Deutsche.

Apache Friends Support Forum • Index page - [ Translate this page ]
community.apachefriends.org/f/ - CachedAllgemeines Forum zum Thema Apache Friends. Bei Problemen mit XAMPP bitte entweder das Linux- oder das Windows-Forum benutzen. Hier geht's wirklich nur ganz ...
XAMPP für Windows
phpMyAdmin
XAMPP für Mac OS X
XAMPP for Windows
XAMPP for Linux
Apache
ProFTPD

Re: Unable to access http://localhost

PostPosted: 16. July 2011 17:20
by marvolo1300
You were right. There was one entry in the error log and it was repeated like a million times. There were no other processes using either ports other than mysqld and httpd.

Code: Select all
[Fri Jul 15 18:06:26 2011] [error] (OS 10038)An operation was attempted on something that is not a socket.  : Child 3312: Encountered too many errors accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software. Try using the Win32DisableAcceptEx directive.


I uninstalled almost everything that requires access to the Internet with the exception of Chrome.

Re: Unable to access http://localhost

PostPosted: 16. July 2011 21:20
by JonB

Re: Unable to access http://localhost

PostPosted: 17. July 2011 21:17
by marvolo1300
I absolutely sure now that the problem is not apache. It seems that there is adware on my computer which is using the port which apache uses. I have tried everything to get rid of it. I have scanned my PC with avast and spybot SD.


Any suggestions?

Re: Unable to access http://localhost

PostPosted: 18. July 2011 03:10
by Sharley
marvolo1300 wrote:It seems that there is adware on my computer which is using the port which apache uses.
As pointed out in my first reply, you may be able to find out what is using the ports that Apache (XAMPP port 80/443/3306 etc.) needs by downloading and running this little portable utility Curr Ports from here:
http://www.nirsoft.net/utils/cports.html
It may also allow you to clear any app. that is using a particular port.

Check your \xampp\webdav folder only has 2 files stored in this folder and post back with details if you find more than 2 files.

Re: Unable to access http://localhost

PostPosted: 19. July 2011 06:12
by marvolo1300
Sorry I forgot to mention that only mysql and apache are using those ports and it seems like the adware automatically launches my default browser every 10 minutes unless it gets a chance to hijack my google search results.