owen_337
2023-07-07 18:23 deepin testing team
Hello! According to your description, when you enter https://localhost:5000/ When, the browser refused to connect to the running container. This may be due to one of the following reasons:
- The port mapping of the container is incorrect. Please ensure that the port mapping settings for the container are correct, mapping port 5000 of the container to port 5000 of the host. You can use the following command to run the container and set the correct port mapping:
docker run --rm -hostname=wizdwarfs -p 5000:5000 -v /app/app_data --net=host -it wizdwarfs:0
- The container's application did not properly listen to the host's port 5000. Please ensure that your application correctly listens to the host's port 5000 within the container. You can check the application's code or configuration files to ensure that it is listening to the correct port.
Reply Like 1 View the author
Hello Everyone, I will open new thread "Docker container refused connection". Anyone who have experience will help me .
Application started 😃
When I open my browser and type https://localhost:5000/ browser refused connection container already running
🙁