There should be no normal reason to run a local web server. If you are a developer, disable this check, otherwise disable the web server. Hosting a web server securely requires a lot of knowledge.
How to fix it
macOS 10.11 – 14
- Open terminal.app
- Enter and press return:
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plistThis will stop the local web server and it will not start after reboot again.

