Stop Apache server on Mac High Sierra

Vahagn Sargsyan picture Vahagn Sargsyan · Apr 19, 2018 · Viewed 12.7k times · Source

I'm trying to stop apache server on my macbook. I've tried the following

$ sudo apachectl stop

/System/Library/LaunchDaemons/org.apache.httpd.plist: Could not find specified service

$ sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist

/System/Library/LaunchDaemons/org.apache.httpd.plist: Could not find specified service

What am i doing wrong?

Answer

Free picture Free · Nov 26, 2019

try sudo killall httpd && sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist it's worked on my machine