Networking Forums

Networking Forums > Computer Networking > Windows Networking > localhost resolution

Reply
Thread Tools Display Modes

localhost resolution

 
 
Alfie
Guest
Posts: n/a

 
      07-16-2004, 05:26 PM
I have a Win 98 PC running ICS. This is all working find and my
client PC (running XP) can access the Internet via the shared network
card in my local PC.

If I do IPCONFIG I get this:

Windows 98 IP Configuration

0 Ethernet adapter :

IP Address. . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . :

1 Ethernet adapter :

IP Address. . . . . . . . . : 82.34.153.26
Subnet Mask . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . : 82.34.152.1

My problem is this. On the Win 98 PC I also want to run Apache for
local development work. Apache runs fine, but I can't actually access
it. If I enter http://localhost/ in the Internet Explorer address bar
then IE attempts to resolve this name using the Internet DNS servers
and sends me to the MSN autoresponse!

If I pull up a command window and ping localhost it resolves the name
to 127.0.0.1 and pings it fine...

Any ideas how I might get localhost to resolve to the localhost in IE?

Cheers,

Alfie
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No route for localhost? jprudent Linux Networking 3 02-23-2011 09:43 AM
Localhost john Windows Networking 3 02-11-2008 01:31 PM
getnameinfo() and localhost dkishenko@gmail.com Windows Networking 0 10-25-2006 07:54 AM
Can not ping LOCALHOST:( lioh Windows Networking 1 11-23-2005 01:21 PM
Cannot ping localhost or own IP. maddman Linux Networking 4 08-04-2003 12:15 PM



1 2 3 4 5 6 7 8 9 10 11