Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Cannot connect to local server UNLESS connected to LAN. |
|
Author |
|
labman
Joined: 09 Aug 2008 Posts: 1
|
Posted: Sat 09 Aug '08 23:36 Post subject: Cannot connect to local server UNLESS connected to LAN. |
|
|
I'm running Apache (and pHp, mySQL) on a Win XP laptop as a development and demo server.
The site I'm working on is rerouted to the corresponding local site via a hosts entry: 127.0.0.1 www.sitenamehere.com
When Apache is running AND the laptop is connected to the internet, the browser connects to the local site (as it should).
When Apache is running and the laptop is NOT connected to the internet, the local site is not found. However, it connects when navigating to localhost instead of www.sitenamehere.com.
I'm puzzled why the LAN connection state should play any role at all when connecting to the local server from the local machine (same box). I've tried with the DNS service enabled and disabled, with Zonealarm running and not running and flushing the cache every time.
It appears that somehow the hosts lookup is not taken place when not connected to the LAN.
In Zonealarm 127.0.0.1 is a trusted IP (loopback adapter).
Any suggestion would be greatly appreciated.
Roger |
|
Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Mon 11 Aug '08 7:23 Post subject: |
|
|
oops .. deleted |
|
Back to top |
|
|
|
|
|
|