Closed CheeseNG523 closed 1 week ago
I understand from your description that it works from localhost, but fails from the internet with the error site is not reachable
.
This seems not a CVAT related problem. In any case, even with the HOST header mismatch, you should be getting some sort of http response, but you're not.
What is output of curl -Lv mydomain.ddns.net:8080
?
Your case indicates that you have not properly configured the accessibility of your server from the internet.
I would suggest deploying any simple nginx container using docker run --name some-nginx -d -p 8080:80 nginx
firslty and configure the network properly.
Here is the output of curl -Lv mydomain.ddns.net:8080
* Trying **.***.***.**:8080...
* connect to **.***.***.** port 8080 failed: Connection timed out
* Failed to connect to iradarcvat.ddns.net port 8080 after 130008 ms: Connection timed out
* Closing connection 0
curl: (28) Failed to connect to iradarcvat.ddns.net port 8080 after 130008 ms: Connection timed out
I would suggest deploying any simple nginx container using
docker run --name some-nginx -d -p 8080:80 nginx
firslty and configure the network properly.
Actually I'm new to docker, I have no idea how to configure the network. Any links for me to refer to?
Actually I'm new to docker, I have no idea how to configure the network. Any links for me to refer to?
This is not related to the docker. Unfortunately, I can't advise much due to the missing information about your network configuration. In the simplest case of home network, you need to configure port forwarding on the router and open a port on the end computer for inbound connections.
Actions before raising this issue
Steps to Reproduce
I try to install on Window 10 with Ubuntu
22.04.3
LTS and Docker Desktopv4.33.1
.export CVAT_HOST=localhost
sudo -E docker-compose up -d
localhost:8080
, the page is accessible.sudo -E docker-compose down
export CVAT_HOST=mydomain.ddns.net
sudo -E docker-compose up -d
mydomain.ddns.net:8080
, the page showing the site is not reachable.Below is the logs and other info:
sudo docker exec -t cvat_server python manage.py health_check
sudo docker ps
sudo docker logs cvat_db
sudo docker logs traefik
sudo docker logs cvat_server
sudo docker logs cvat_opa
sudo docker network inspect cvat_cvat
sudo docker exec -it cvat_opa bash
Expected Behavior
The mydomain.ddns.net:8080 should show the CVAT UI.
Possible Solution
Could be docker network error.
Context
-
Environment