logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache without internet connection?
Author
blindfish



Joined: 31 Jul 2009
Posts: 9

PostPosted: Wed 07 Oct '09 21:20    Post subject: Apache without internet connection? Reply with quote

I know this is going to sound fairly daft but here goes. I have apache / php / mysql installed on a laptop that I use for developing and testing sites. The installation works wonderfully and I have no problems other than this one simple thing. I recently realized that I cannot access the apache server at all if I am somewhere that does not have an internet connection. Why is this? And more importantly, can I fix this?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Wed 07 Oct '09 22:22    Post subject: Reply with quote

What do you type into your browser? http://somename.com? http://localhost?
What did you change in your httpd.conf?
Back to top
blindfish



Joined: 31 Jul 2009
Posts: 9

PostPosted: Thu 08 Oct '09 3:31    Post subject: Reply with quote

I am typing http://localhost... into the browser. It's been so long since I set this up that I have no recollection what I changed. I'm just confused as to how I would need an internet connection for one part of my machine to talk to another part of the same machine.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 08 Oct '09 7:11    Post subject: Reply with quote

try looking at your Windows hosts file c:\windows\system32\drivers\etc\hosts
.. did
127.0.0.1 localhost
get removed from it?
Back to top
blindfish



Joined: 31 Jul 2009
Posts: 9

PostPosted: Thu 08 Oct '09 14:42    Post subject: Reply with quote

localhost is actually the first two lines as follows:

127.0.0.1 localhost
::1 localhost


after that it's just a list of roughly 4 billion addresses inserted by spybot.
Back to top


Reply to topic   Topic: Apache without internet connection? View previous topic :: View next topic
Post new topic   Forum Index -> Apache