[SOLVED] Unable to access cockpit web page

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Unable to access cockpit web page

Postby xboxboy » Jul 25th, '22, 07:35

Hi all, was excited to see cockpit in the repo's. I installed it on my server, I have nextcloud on it. I can access the nextcloud page from any pc on the network, but I can not access the cockpit page. I did start the cockpit server. Unsure what I've missed or need to trouble shoot.
Last edited by xboxboy on Aug 30th, '22, 14:25, edited 1 time in total.
xboxboy
 
Posts: 402
Joined: Jun 2nd, '13, 06:41

Re: Unable to access cockpit web page

Postby sturmvogel » Jul 25th, '22, 13:29

Did you already consult the extensive documentation how to set it up properly?
https://cockpit-project.org/documentation.html
https://cockpit-project.org/running.html
sturmvogel
 
Posts: 744
Joined: Jul 30th, '12, 00:39

Re: Unable to access cockpit web page

Postby xboxboy » Jul 30th, '22, 15:50

No I haven't: IIRC when I'd previously installed it on Mageia there was no configuration, it just worked.

I've just checked that cockpit.socket is running, and it is:

So I've loaded the cockpit page on the server browser: so yes, cockpit is installed and functioning.

I can't access it over the network, so I suspect this is a firewall issue: How can I allowed cockpit to be accessed on a network?
xboxboy
 
Posts: 402
Joined: Jun 2nd, '13, 06:41

Re: Unable to access cockpit web page

Postby sturmvogel » Jul 30th, '22, 15:57

Still many informations missing to be able to help you.
Can you ping the server?
How do you try to reach the server? with ip-address-of-machine:9090 or localhost:9090 ?
Did you adapt the firewall of the server with the builtin cockpit tools to allow the service?
Did you properly setup the server with cockpit tools to be reachable from outside?
Did you add the cockpit service to firewalld aka is port 9090 open?

Again: the documentation of cockpit is extensive.
sturmvogel
 
Posts: 744
Joined: Jul 30th, '12, 00:39

Re: Unable to access cockpit web page

Postby xboxboy » Aug 11th, '22, 14:17

I've got it accessible now.
I had to add "9090/tcp" to the advanced tab in the firewall section of MCC. Firefox then complains of the certificate, as expected, so allow the exception.

Is this the correct and strictest way?
xboxboy
 
Posts: 402
Joined: Jun 2nd, '13, 06:41

Re: Unable to access cockpit web page

Postby obgr_seneca » Aug 27th, '22, 17:44

Yes it is.

Per default Mageia blocks all external access to the computer in the Firewall.
You can then add exceptions in mcc like for sshd. Or as you did it for special ports in the advanced tab.
Linux - free choice for free people
User avatar
obgr_seneca
 
Posts: 156
Joined: Mar 16th, '11, 17:35
Location: Southwest of Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest