ping localhost has ::1: for IP address

D

Dan

Hi, I'm having a problem with my localhost on my windows XP machine. I'm
not sure what is wrong with it. the HOSTS file looks fine with the line:
127.0.0.1 localhost

But when I try to access any web application using the word "localhost" in
the browser, it fails. If I try 127.0.0.1 it works fine. Here is the
result I get from a ping. It works fine but says "::1:" for the IP address?
Does any one know what might be going on? any help is greatly appreciated!
thanks, dan

ping localhost

Pinging DAN [::1] with 32 bytes of data:

Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
 
C

Chuck

Hi, I'm having a problem with my localhost on my windows XP machine. I'm
not sure what is wrong with it. the HOSTS file looks fine with the line:
127.0.0.1 localhost

But when I try to access any web application using the word "localhost" in
the browser, it fails. If I try 127.0.0.1 it works fine. Here is the
result I get from a ping. It works fine but says "::1:" for the IP address?
Does any one know what might be going on? any help is greatly appreciated!
thanks, dan

ping localhost

Pinging DAN [::1] with 32 bytes of data:

Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

Dan,

Looks like corruption in the LSP / Winsock subsystem.
http://support.microsoft.com/?id=318584
http://support.microsoft.com/?id=811259

If XP RTM or Service Pack 1:
1. Backup and delete the following registry keys:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2
2. Reboot.
3. Open the network connections folder, right click your network connection, and
click Properties.
4. Click Install | Protocol | Add.
5. Click "Have Disk...", type "\windows\inf" in the box, and click OK.
6. Click "Internet Protocol (TCP/IP)", then click OK.
7. Reboot.

If XP SP2:
1. Start - Run - "cmd".
2. Type "netsh winsock reset catalog" into the command window.

Give LSP-Fix <http://www.cexx.org/lspfix.htm>, WinsockFix
<http://www.tacktech.com/display.cfm?ttid=257>, or WinsockXPFix
<http://www.spychecker.com/program/winsockxpfix.html> a shot.

If no help yet, reset TCP/IP.
http://support.microsoft.com/?id=299357

Start - Run - "cmd". Type "netsh int ip reset c:\netsh.txt" into the command
window.

--
Cheers,
Chuck
Paranoia is not necessarily a bad thing - it comes from experience.
My email is AT DOT
actual address pchuck sonic net.
 
N

Nepatsfan

The ::1 may be due to your having IPv6 installed as a network
protocol. I think that's the loopback address in IPv6.

Try the following:
Go to Start -> Control Panel -> Network Connections.
Right click on the icon for your network connection and select
Properties.
Is Microsoft TCP/IP version 6 listed.
If you don't need it, and you probably don't, click Uninstall.
See if this fixes the problem.
 
D

Dan

You were right, removed Microsoft TCP/IP version 6 and now my system is
working again!

thanks!!!
dan

Nepatsfan said:
The ::1 may be due to your having IPv6 installed as a network protocol. I
think that's the loopback address in IPv6.

Try the following:
Go to Start -> Control Panel -> Network Connections.
Right click on the icon for your network connection and select Properties.
Is Microsoft TCP/IP version 6 listed.
If you don't need it, and you probably don't, click Uninstall.
See if this fixes the problem.

--
Nepatsfan
Dan said:
Hi, I'm having a problem with my localhost on my windows XP machine. I'm
not sure what is wrong with it. the HOSTS file looks fine with the line:
127.0.0.1 localhost

But when I try to access any web application using the word "localhost"
in the browser, it fails. If I try 127.0.0.1 it works fine. Here is the
result I get from a ping. It works fine but says "::1:" for the IP
address? Does any one know what might be going on? any help is greatly
appreciated!
thanks, dan

ping localhost

Pinging DAN [::1] with 32 bytes of data:

Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
 
N

Nepatsfan

You're welcome. Glad to hear that you've got that fixed.

--
Nepatsfan
Dan said:
You were right, removed Microsoft TCP/IP version 6 and now my
system is working again!

thanks!!!
dan

Nepatsfan said:
The ::1 may be due to your having IPv6 installed as a network
protocol. I think that's the loopback address in IPv6.

Try the following:
Go to Start -> Control Panel -> Network Connections.
Right click on the icon for your network connection and select
Properties.
Is Microsoft TCP/IP version 6 listed.
If you don't need it, and you probably don't, click Uninstall.
See if this fixes the problem.

--
Nepatsfan
Dan said:
Hi, I'm having a problem with my localhost on my windows XP
machine. I'm not sure what is wrong with it. the HOSTS file
looks fine with the line:
127.0.0.1 localhost

But when I try to access any web application using the word
"localhost" in the browser, it fails. If I try 127.0.0.1 it
works fine. Here is the result I get from a ping. It works
fine but says "::1:" for the IP address? Does any one know
what might be going on? any help is greatly appreciated!
thanks, dan

ping localhost

Pinging DAN [::1] with 32 bytes of data:

Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top