Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 3
    Since you get a page from localhost, then means some software on your computer is already using port 80. Two programs can't use the same port at the same time.
    – Ben Voigt
    Commented Jan 29, 2014 at 20:13
  • How can I see what is currently using it? I'm guessing it's something that happens at start-up.
    – Justin
    Commented Jan 29, 2014 at 20:15
  • For that, see Who is listening on a given TCP port on Mac OS X?
    – Ben Voigt
    Commented Jan 29, 2014 at 20:27
  • When I do sudo lsof -i TCP:80 | grep LISTEN I get no results.
    – Justin
    Commented Jan 29, 2014 at 20:38
  • you didn't turn off port number->name lookup, so it might be outputting TCP:http (I don't know about Mac lsof, but netstat on other OSes would). Check the output of just sudo lsof -i TCP to see what format it is in.
    – Ben Voigt
    Commented Jan 29, 2014 at 20:46