Author |
|
blindfish
Joined: 31 Jul 2009 Posts: 9
|
Posted: Wed 07 Oct '09 21:20 Post subject: Apache without internet connection? |
|
|
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
|
|
Back to top |
|
blindfish
Joined: 31 Jul 2009 Posts: 9
|
Posted: Thu 08 Oct '09 3:31 Post subject: |
|
|
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
|
Posted: Thu 08 Oct '09 7:11 Post subject: |
|
|
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
|
Posted: Thu 08 Oct '09 14:42 Post subject: |
|
|
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 |
|