34
votes
2answers
3k views

Why is my “localhost” not 127.0.0.1? [duplicate]

When I use the Ping command to ping my localhost, it doesn't show up as 127.0.0.1. C:\Windows\system32>ping localhost Pinging GIGA [::1] from ::1 with 32 bytes of data: Instead, it shows up ...
1
vote
1answer
930 views

Mac OS X Mountain Lion can't ping/telnet localhost. Point to a wrong public IP

I've been developing Node.js apps on my localhost on port 1337 for last two years with no problem as shown below. $ node app App started on port 1337 Today I wanted to test how things go with ...
1
vote
3answers
952 views

Can you do “ping %localhost%”?

I would like to be able to ping whatever machine name I am in without first having to do: localhost Can I do something like the following? ping %localhost% When I do: ping localhost the IP ...
24
votes
6answers
18k views

Why is there a difference between ping “localhost” and ping “local IP address”?

Using cmd and ping on Windows gave me the following results: Pinging "localhost": Pinging "192.168.0.10" (local IP address): Aren't both situations exactly the same? I mean, I'm pinging ...
1
vote
1answer
3k views

Mac OS X 10.7 can't ping/telnet localhost

I'm developing using django/postgresql on Mac OS X 10.7 and suddenly I am unable to access the test server through http://localhost:8000/. I can make it listen on 0.0.0.0:8000 and then it works... ...
0
votes
1answer
334 views

Is it possible to get communication work both ways in Virtual Box with NAT (not bridged) on Windows 7 host?

I have set up a virtual machine with Virtual Box. But I cant ping the virtual machine from the host Windows 7 if I have NAT on the virtual machine. I know it works with bridged but I would like it to ...
1
vote
1answer
2k views

Able to ping localhost, but cannot connect via my browser

I've seen similar questions, but couldn't find any answers for my problem. I'm using Windows 7 and Wamp for website development, and it was working fine until a couple of days ago. Now it won't let ...
1
vote
1answer
827 views

Cannot find local host via browser - can ping localhost and 127.0.0.1 ok

I have installed wampserver to start up some PHP-scripting, but cannot call localhost nor 127.0.0.1 via Chrome, Firefox or IE8. I have made sure that my host-file says 127.0.0.1 localhost I have run ...