2023-12-04, 21:58
On my ubuntu server, I want to configure some services using only theirs docker images, one of them is Kodi. I installed and run it using the following commands:
now, from an another PC I tried to get access via HTTP and HTTPS, but it didn't work (for example: https://SERVER_IP:9090). the web page returned me a "connection refused" error. what am I doing wrong?
in the "hub docker" there is a guide, but I can't understand the first points. I followed it only from the third point because, to be honest, I really don't understad the first two ones.
https://hub.docker.com/r/celedhrim/kodi-server
Code:
root@server:/home/user# docker pull celedhrim/kodi-server
root@server:/home/user# sudo docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
celedhrim/kodi-server latest ba83bcb40db1 7 months ago 988MB
root@server:/home/user# docker run -d --restart="always" --net=host -v /path/to/kodi-server-profile:/usr/share/kodi/portable_data celedhrim/kodi-server
root@server:/home/user# sudo netstat -tulpn | grep LISTEN
tcp 0 0 127.0.0.1:9090 0.0.0.0:* LISTEN 2811/kodi.bin <--- KODI!!
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2042/sshd: /usr/sbi
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 738/systemd-resolve
tcp6 0 0 :::22 :::* LISTEN 2042/sshd: /usr/sbi
now, from an another PC I tried to get access via HTTP and HTTPS, but it didn't work (for example: https://SERVER_IP:9090). the web page returned me a "connection refused" error. what am I doing wrong?
in the "hub docker" there is a guide, but I can't understand the first points. I followed it only from the third point because, to be honest, I really don't understad the first two ones.
https://hub.docker.com/r/celedhrim/kodi-server