Unable to change Cockpit listening port #18475
-
I'm trying to change the listening port to 9091. Following instructions elsewhere, I've put this content into /etc/systemd/system/cockpit.socket.d/listen.conf:
I then did:
...but Cockpit is still listening on port 9090. Any idea what I might have done wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Can you please check the output of |
Beta Was this translation helpful? Give feedback.
-
I stopped and restarted the cockpit socket (using systemctl disable/enable --now cockpit.socket), then ran those commands. The output is below. At the moment cockpit now not accessible on either 9090 or 9091 (and both of those ports have been allowed through the firewall using "sudo ufw allow").
|
Beta Was this translation helpful? Give feedback.
-
A-ha! Please try to capitalize it correctly, with |
Beta Was this translation helpful? Give feedback.
A-ha! Please try to capitalize it correctly, with
ListenStream=...
in /etc/systemd/system/cockpit.socket.d/listen.conf