📖 ~1 min read
Table of contents
Symptom & Impact
NGINX service enters failed state because another process already listens on TCP port 80.
Environment & Reproduction
Ubuntu 22.04 web host with Apache, Caddy, or stale process consuming port 80; reproduce after installing NGINX without port plan.
Root Cause Analysis
Only one service can bind the same IP/port combination unless explicit socket sharing is configured.
Quick Triage
Run sudo ss -ltnp | grep ‘:80’ and sudo systemctl status nginx to identify conflicting process and startup errors.
Step-by-Step Diagnosis
Inspect active listeners, review /etc/nginx/sites-enabled for duplicate listen directives, and check journalctl -u nginx for bind failures.

Solution – Primary Fix
Stop or reconfigure conflicting service, adjust NGINX listen settings if required, run nginx -t, then restart nginx.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Use reverse proxy layering on alternate ports, enable socket activation strategy, or consolidate to one HTTP entrypoint.
Verification & Acceptance Criteria
nginx reports active (running), port binding is clean, and HTTP health checks return expected responses.
Rollback Plan
Restore previous site configs and service enablement order if new listener assignments disrupt production routes.
Prevention & Hardening
Maintain explicit port ownership inventory, enforce config linting in deployment, and monitor listener drift.
Related Errors & Cross-Refs
Related Ubuntu 22.04 service issues include port 443 conflicts and systemd socket activation misconfiguration.
Related tutorial: View the step-by-step tutorial for Ubuntu 22.04 LTS.
View all Ubuntu 22.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
NGINX official docs, Ubuntu service management docs, and man ss/systemctl references.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.