nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use) code example
Example 1: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
sudo pkill -f nginx & wait $!
sudo systemctl start nginx
Example 2: nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use)
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist