Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using Paralles, and I make my local port 80 on my Mac(The host machine) forward to the port 80 of the ubuntu (The Paralles VM).

Then on my host machine, I check the port by netstat, and get

tcp4       0      0  *.http                 *.*                    LISTEN

The problem is that I can't access the service by http://localhost/, but I can access the service by http://127.0.0.1/.

Why the localhost not work while the 127.0.0.1 works?

When I try nmap -p 80 localhost, the result is:

Nmap scan report for localhost (127.0.0.1)
Host is up (0.00012s latency).
PORT   STATE SERVICE
80/tcp open  http
share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.