I'm unable to connect to my localhost on port 80 while running WAMP at a hotel. Has anybody had these sorts of issues before? I'd like to be able to do some development work during my stay.

I realize that my WAMP server may be restricted from serving pages between computers...and why this might be a restriction. But certainly, I should be able to do a simple loopback so that PHP can run in the browser?

Connecting to http://localhost/ gives an 'unable to connect' message in the browser.

I've tried both wireless and wired internet options.

any ideas? services to check? tests to run?

link|improve this question
feedback

2 Answers

  1. Your Apache Service might not be running.

  2. Try http://127.0.0.1/ , it could be "localhost" is not resolving (for whatever reason).

The only other thing I can think of is that your browser has had it's proxy settings set.

link|improve this answer
1  
Agreed, the hotel setup should have zero effect on localhost/127.0.0.1. – KCotreau Jun 1 '11 at 21:16
feedback

Things that I can think of

  1. Misconfigured proxy settings - You have to specifically tell your browser what not to send to the server (at least in Firefox you do). By default it doesn't send localhost or 127.*, but this may of changed. Check the settings. Note that FoxyProxy in Firefox has this issue
  2. No entry in hosts file - Don't know why this would of changed, but check your hosts file and see if 127.0.0.1 localhost is there
  3. Old cache - Maybe your browser is caching something weird. Clear it, restart the browser, and see if its fixed
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.