tried to start xampp but webserver is already running?

Discussion in 'macOS' started by paul3200, Jan 23, 2014.

  1. paul3200

    paul3200 MDL Member

    Dec 3, 2010
    158
    10
    10
    Hi i have just installed xampp but when i tried to run it it says there is already a service running on port 80

    when i run netstat -tulpn | grep :80 it shows a service running httpd but its not apache2 as i havent installed it

    what else could it be ? and how can i remove it??


    many thanks
     
  2. tomval2k

    tomval2k MDL Novice

    Jan 13, 2014
    8
    5
    0
    #2 tomval2k, Jan 23, 2014
    Last edited by a moderator: Apr 20, 2017
    Does netstat give you the 'PID/Program name' or just a dash (if just a dash run it as root).

    Then using top see what the PID is for, e.g. for a PID of 26336:
    Code:
    top -b -n 1 -p26336 -c
    or look at /proc/<PID>/cmdline:
    Code:
    cat /proc/26336/cmdline; echo
     
  3. paul3200

    paul3200 MDL Member

    Dec 3, 2010
    158
    10
    10
    cheers for your help mate sorry i havent replied in ages. Somehow i got it to work haha