π ~1 min read
Table of contents
Symptom & Impact
Admins cannot access web console for host management tasks.
Environment & Reproduction
Cockpit package installed but service disabled or blocked by firewall.
rpm -q cockpit
systemctl status cockpit.socket
Root Cause Analysis
cockpit.socket not active, firewalld not permitting cockpit service, or certificate issue.
Quick Triage
Check listener and network path on port 9090.
ss -tulpn | grep 9090
firewall-cmd --list-services
Step-by-Step Diagnosis
Collect cockpit logs and TLS-related messages.
journalctl -u cockpit* -n 200 --no-pager
openssl s_client -connect localhost:9090 -brief </dev/null

Solution – Primary Fix
Enable cockpit socket and open service in firewalld.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
systemctl enable --now cockpit.socket
firewall-cmd --permanent --add-service=cockpit
firewall-cmd --reload

Solution – Alternative Approaches
Proxy cockpit via existing reverse proxy with enterprise certificates.
systemctl restart cockpit.socket
Verification & Acceptance Criteria
HTTPS access to port 9090 succeeds and login prompt appears.
curl -kI https://localhost:9090
Rollback Plan
Remove cockpit service exposure if security review requires temporary closure.
firewall-cmd --permanent --remove-service=cockpit
firewall-cmd --reload
Prevention & Hardening
Restrict management source ranges and rotate certificates.
firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source address=10.0.0.0/24 service name=cockpit accept'
Related Errors & Cross-Refs
Connection timed out on 9090, cockpit-ws failed to start.
Related tutorial: View the step-by-step tutorial for rhel-10.
View all rhel-10 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Cockpit deployment and secure access recommendations.
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.