Seafile docker on pi 4 not able to connect

Hi i am following this guide to setting up and running seafile server on my pi 4 using docker

But when i navigate to seafile.example.com i get a server error on my browser.

All this is being tested on my local network between my pi 4 and my windows laptop

The command i used is this

docker run -d --name seafile
-e SEAFILE_SERVER_HOSTNAME=seafile.example.com
-v /opt/seafile-data:/home/media/wd4tb
-p 81:81
seafileltd/seafile:pi

i get a network error: connection refused

edit: some docker logs

jonathan@raspberrypi:/opt/seafile-data $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4267b291dcc9 seafileltd/seafile:pi ā€œ/sbin/my_init ā€“ /sā€¦ā€ 9 minutes ago Up 9 minutes 0.0.0.0:81->81/tcp seafile

Hi @jonneymendoza,
most likely, it is the wrong option to use seafile.example.com as SEAFILE_SERVER_HOSTNAME.
Just try your local IP for a start.

$ route | grep default | awk '{print $2}'
=> 192.168.178.23  # for example

docker run -d --name seafile
-e SEAFILE_SERVER_HOSTNAME=192.168.178.23
-v /opt/seafile-data:/home/media/wd4tb
-p 81:81
seafileltd/seafile:pi

Afterwards, try to connect to 192.168.178.23:81 in your browser.