Difficulty running Apache on my Mac

Discussion in 'MacBook Pro' started by susan1802, Sep 29, 2012.

  1. susan1802 macrumors newbie

    Joined:
    Sep 29, 2012
    #1
    I had XAMPP for Mac installed - working fine for a year or more. Suddenly, I would try to view localhost sites and got nothing. No errors, just a totally blank page (view source shows nada). I uninstalled and reinstalled XAMPP - now I try to start Apache and get an error that something else is running on Port 80. I found a suggestion to run

    sudo lsof -i :80 # checks port 80

    on the Terminal so I did that and got the info below. I have no idea what any of it means or how to stop all of this stuff so I can start Apache. Any help will be MOST appreciated.


    prl_disp_ 172 root 51u IPv4 0x08a92b58 0t0 TCP 192.168.1.136:49174->72.21.81.253:http (ESTABLISHED)
    Dropbox 221 myun 11u IPv4 0x10771708 0t0 TCP 192.168.1.136:53489->sjc-not8.sjc.dropbox.com:http (ESTABLISHED)
    httpd 1138 root 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 1140 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 1141 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 1142 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 1143 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 1144 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    firefox 2041 myun 40u IPv4 0x0d087f28 0t0 TCP 192.168.1.136:55299->gg-in-f147.1e100.net:http (ESTABLISHED)
    firefox 2041 myun 42u IPv4 0x095e3f28 0t0 TCP 192.168.1.136:55274->yh-in-f102.1e100.net:http (ESTABLISHED)
    httpd 2043 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 2044 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
     
  2. susan1802 thread starter macrumors newbie

    Joined:
    Sep 29, 2012
    #2
    I shut down Dropbox and Firefox, ran the command again and got this:

    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    prl_disp_ 172 root 51u IPv4 0x08a92b58 0t0 TCP 192.168.1.136:49174->72.21.81.253:http (ESTABLISHED)
    httpd 1138 root 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 1140 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 1141 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 1142 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 1143 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 1144 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 2043 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)
    httpd 2044 nobody 5u IPv6 0x08a8e460 0t0 TCP *:http (LISTEN)

    What are these things and how do I stop them? Or is there another solution? XAMPP continues to say that Port 80 is occupied.
     

Share This Page