Can't connect to web ui

Try to use rancher for the first time today. I setup a new vm for the purpose. Its running centos stream. I cannot connect to the rancher UI after starting the container (i’m getting an err_connection_refused remotely).

Installed docker: Version: 20.10.21
Linux Kernel Version: 5.14.0-183.el9.x86_64

Then downloaded/ran the latest version:

docker run -d --restart=unless-stopped \
  -p 80:80 -p 443:443 \
  --privileged \
  rancher/rancher:latest

docker container is running file:

CONTAINER ID   IMAGE                    COMMAND           CREATED         STATUS         PORTS                                                                      NAMES
902d1d55685a   rancher/rancher:latest   "entrypoint.sh"   9 seconds ago   Up 5 seconds   0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp   nice_satoshi

When i run:

curl -vLk https://127.0.0.1

this is what i get:

 *   Trying 127.0.0.1:443...
* Connected to 127.0.0.1 (127.0.0.1) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/pki/tls/certs/ca-bundle.crt
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (OUT), TLS alert, decode error (562):
* error:0A000126:SSL routines::unexpected eof while reading
* Closing

When i run:

curl -vLk https://127.0.0.1

i get :

*   Trying 127.0.0.1:80...
* Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
> GET / HTTP/1.1
> Host: 127.0.0.1
> User-Agent: curl/7.76.1
> Accept: */*
>
* Recv failure: Connection reset by peer
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer

I read something about CentOS & net.ipv4.ip_forward so i had a look & :

sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1

so everything looks fine there. Any help would be appreciated.