Tags
#systemd
bind() to 0.0.0.0:80 failed (98: Address already in use)
Networking
"Address already in use": find who is using port 80 (or any port)
Fix "bind() failed (98: Address already in use)": find the process holding the port with ss or lsof, then stop it, move it, or change your port.
Beginner · 4 min read
502 Bad Gateway
Networking
Nginx "502 Bad Gateway": find the cause in the error log
Fix nginx 502 Bad Gateway: read error.log, then fix the backend that is down, the wrong address or socket, the crashing app, or SELinux on RHEL.
Intermediate · 5 min read