Wamp hang or fail to connect
Posted by: GokuSSj5KD (---.dedicated.allstream.net)
Date: September 24, 2012 09:43PM

Hi. Thanks in advance for your help and please forgive my english, which is not ideal.

So, last week or so, I was able to use my wamp server without any problem. I haven't used since and this morning I couldn't make it to work anymore.

The icon is green, I also tried restarting, both the services and my computer, just in case.

The thing that is wierd, is that I can access the data on the wamp server using MY-SQL workbench, and my coworker, who connect to my wamp server ,can also work without a problem, but cannot access the phpmyadmin nor my local host interface, just like me.

Somehow, phpMyAdmin and localhost (using either my IP, 127.0.0.1, or locallhost, with and without specifying the port) hang or doesn't find the page.

using the links from wamp menu (icon -> localhost) can not find the page


Error :

Unable to connect


Firefox can't establish a connection to the server at localhost.

I tried to connect with various browser, including IE, opera and chrome, without anymore success.

I made sure that my host file contains the "127.0.0.1 localhost", without hashtag.

I'm kind of out of ideas now, if I dont find anything by tomorrow afternoon, I will probably reinstall wamp.

I dont have skype on my pc, and no firewall. The company, however, do use Microsoft Forefront Endpoint Protection, but AFAIK, it was being used before I had problems with my wamp server, so I doupt it is the cause of my issue.

any help would be greatly appreciated.

I use wamp 2.2, with apache(2.2.21), Mysql(5.5.16) and php (5.3.8).

Running on a windows 7 enterprise, SP1, 64bit.

Thanks and have a nice day!

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: stevenmartin99 (Moderator)
Date: September 24, 2012 10:29PM

I would not reinstall . It would not change anything.

Your issue sounds odd for sure , if you want I will take a look with Teamviewer if you can?

Thanks

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: GokuSSj5KD (---.dedicated.allstream.net)
Date: September 25, 2012 02:28PM

I could indeed make a Teamviewer session. I have the software ready for use, who do I contact?

and at what time?



Edited 1 time(s). Last edit at 09/25/2012 02:52PM by GokuSSj5KD.

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: stevenmartin99 (Moderator)
Date: September 25, 2012 03:32PM

Is now ok? Pm the details or send to my gmail addres below

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: GokuSSj5KD (---.dedicated.allstream.net)
Date: September 25, 2012 03:43PM

PM Sent.

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: bobreb (---.hsd1.wa.comcast.net)
Date: September 26, 2012 04:34AM

So what was the fix here? I'm encountering the same problem. Everything seems to be fine, but localhost won't connect -- "waiting for localhost" message never stops.

Thanks in advance.

bob.

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: ReLexEd (---.kpn.net)
Date: September 26, 2012 02:23PM

Subscribing as I hope this covers my problem as well..

I started using WampServer on both my workplaces a couple of weeks ago, and have had connectivity issues from the start... (hasn't made me go back to Xampp though winking smiley)

I too get the 'Waiting for localhost', and then nothing... .
But this does not happen each request... some go thru, and give back a response... sometimes it takes a couple of seconds (running on an Core i7-2600k with 16Gb and Wamp on a SSD, so it should fly), sometimes it doesn't give anything...

Most of the time, just refreshing helps, but it gets pretty irritating if I have to hit F5 a couple of times before I can review my changes winking smiley

Hoping that there is more information! smiling smiley

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: stevenmartin99 (Moderator)
Date: September 26, 2012 02:25PM

what browser are you using?

is it the same in all browsers?

is ipv6 enabled?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: ReLexEd (---.kpn.net)
Date: September 26, 2012 02:51PM

I get this in all browsers (IE, FF and Chrome)

IPv6 hasn't been tampered with (but I do believe Windows7 has this on by default, will check to see if disabling it makes a difference)

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: ReLexEd (---.kpn.net)
Date: September 27, 2012 03:05PM

For an hour or two I had the feeling that disabling IPv6 solved this weird problem for me, but it looks like it didn't....

So I'm back to square one... Any pointers?

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: stevenmartin99 (Moderator)
Date: September 27, 2012 03:42PM

Can you run a command in cmd

Netsh winsock reset



Then restart PC.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: RiggsFolly (---.as13285.net)
Date: September 27, 2012 05:32PM

Can I suggest a couple of things.

Edit httpd.conf ( using the wampmanager menu links )
look for the "Listen" parameter

change it from
Listen 80

to Listen 0.0.0.0:80

This will tell apache to only listen on the IPV4 network

Then edit my.ini ( using the menu link on wampmanager )
and add this bind_address parameter to the [wampmysqld] section


[wampmysqld]
bind_address = 127.0.0.1

This will make mysql only listen on the IPV4 network.


Restart All Services

then run the >netsh winsock reset as Steven suggested from a command window opened "As Administrator"


Hope this helps

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: stevenmartin99 (Moderator)
Date: September 27, 2012 05:42PM

I would suggest setting

bind-address = 0.0.0.0


But none of that is really nessecary if you disabled ipv6


Also it's totally possible to use ipv6 if you want with wamp

I'd like to take a look later if you have time

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: ReLexEd (---.cm-6-7b.dynamic.ziggo.nl)
Date: September 28, 2012 09:35PM

Thanks guys for the help so far,

I'm going to test this on my work-pc first thing monday morning....

The disabling of IPv6 did do the trick at my home PC.
Not quite sure as to what actually caused the problem, but i'm going to try enabling it tommorow, and trying the other reccomendations you gave...

Will check back in with (hopefully good) results! :-)

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: ReLexEd (---.kpn.net)
Date: October 01, 2012 11:30AM

Just checking in...

With very good results!!!
WAMP is now running as snappy as I expected it should...


Thanks for the help!

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: RiggsFolly (---.as13285.net)
Date: October 01, 2012 04:34PM

So what did you do to fix it.

So others may benefit!

Options: ReplyQuote
Re: Wamp hang or fail to connect
Posted by: ReLexEd (---.cm-6-7b.dynamic.ziggo.nl)
Date: October 01, 2012 07:50PM

Sorry...
(didn't want to come over as the 'I got my problem solved, and now I'm gone kind-a-guy ;-))


I thought it was obvious that your tips did the trick! ;-)


I changed the settings in the httpd.conf and my.ini and gave the netsh winsock reset a whirl...

After that I restarted my system, and after rebooting took it for a 8 hour spin... without a hassle!


Once again, thanks for the usefull tips, and I hope that others may benefit from this as well..

Options: ReplyQuote


Sorry, only registered users may post in this forum.