Problem accessing by machine name or IP address -- localhost works fine


Go Back   Computer Help Articles > Windows XP Network Web
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 04:15 AM
jalperin
 
Posts: n/a
Default Problem accessing by machine name or IP address -- localhost works fine

I'm trying to access a local installation of Apache from the same
machine. The machine's name is fred and IP is 192.168.1.100. If I
ping fred I get the correct local IP back (192.168.1.100).

When I type http://localhost into a browser, I see the default page.
So far so good. But when I type either http://192.168.1.100 (the
machine's local IP address) or http://fred (the machine's name), the
browser just hangs. Obviously, there's something wrong with my network
setup.

I've temporarily disabled the ZoneAlarm firewall and Windows XP SP2
firewall is also off.

Any ideas?

Reply With Quote
  #2  
Old 01-05-2006, 04:15 AM
Ian
 
Posts: n/a
Default RE: Problem accessing by machine name or IP address -- localhost works

Might or might not be the reason, but Apache can be set to use named virtual
hosts, in which case the url you type must be what Apache expects it to be,
or else (depending on the config) you may get a default website, or nothing.

This mechanism is used on systems where several websites reside on one IP
address. It wouldn't normally be active on a single site, but might've got
turned on


Reply With Quote
  #3  
Old 01-05-2006, 04:15 AM
jalperin
 
Posts: n/a
Default Re: Problem accessing by machine name or IP address -- localhost works

Thanks for the reply. Virtual Hosting is not turned on, so I guess
that's not the explanation. It had been working just fine, then
started doing this. Not sure what changed. I wasn't doing anything
intentionally different.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OE6 address book problem geggy Outlook Express 4 01-05-2006 04:44 PM
XP/98 Network works 1 way only Chivas Windows XP Network Web 3 01-05-2006 04:10 AM
Long delay to find the other computer on network BP Windows XP Network Web 18 01-05-2006 04:09 AM
No network access for XP Home machine Jim W. Windows XP Network Web 11 01-05-2006 04:04 AM
Problem Accessing Shared Folder On Win 98 Box From Win XP Machine Dell Boy Windows XP Network Web 5 01-05-2006 04:01 AM


All times are GMT. The time now is 08:29 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Problem accessing by machine name or IP address -- localhost works fine