How to correctly install and access Cockpit?

Hi there.

I’m using Leap 15.6 Xfce on my miniPC at home.

I’ve followed these guides to install Cockpit:
Running Cockpit — Cockpit Project

Administering SUSE Linux Enterprise Micro using Cockpit

But when I try to open the localhost:9090 or the ip_address:9090 the browser simply says that nothing exists. In the installation process I can’t see any error.

What should I do?

What does sudo systemctl status cockpit.socketshow?

Ah, seems that I can’t start it…

Run the command that I gave and post the output here (as text). We’re interested in the systemd socket unit here.

Refer to the following guide re posting output as pre-formatted text:

~> sudo systemctl status cockpit.socket 
● cockpit.socket - Cockpit Web Service Socket
     Loaded: loaded (/usr/lib/systemd/system/cockpit.socket; enabled; preset: disabled)
     Active: active (listening) since Sat 2025-05-31 10:31:21 CEST; 1h 7min ago
   Triggers: ● cockpit.service
       Docs: man:cockpit-ws(8)
     Listen: [::]:9090 (Stream)
    Process: 28940 ExecStartPost=/usr/share/cockpit/motd/update-motd  localhost (code=exited, status=0/SUCCESS)
    Process: 28949 ExecStartPost=/bin/ln -snf active.motd /run/cockpit/motd (code=exited, status=0/SUCCESS)
      Tasks: 0 (limit: 4915)
        CPU: 30ms
     CGroup: /system.slice/cockpit.socket

mag 31 10:31:21 localhost.localdomain systemd[1]: Starting Cockpit Web Service Socket...
mag 31 10:31:21 localhost.localdomain systemd[1]: Listening on Cockpit Web Service Socket.

This was on my Tumbleweed but Leap may have the same problem. Checking the file will tell you.