You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i tried to curl to http://127.0.0.1:8000 throws:
curl: (56) Recv failure: Connection reset by peer
This behavior happens just when using watchower. If I delete the watchtower handler everything works fine.
More context:
Running docker ps seems to be OK:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1232190abcde docker_image_name "python manage.py ru…" 2 hours ago Up 37 seconds 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp docker_container_name
And running netstat -atpn:
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN -
tcp6 0 0 :::8000 :::* LISTEN -
The text was updated successfully, but these errors were encountered:
Setting the
LOGGING
variable using watchtower insettings.py
makes the application unaccesible from the host machine.The way is configured (
settings.py
):When i tried to
curl
tohttp://127.0.0.1:8000
throws:This behavior happens just when using watchower. If I delete the
watchtower
handler everything works fine.More context:
Running
docker ps
seems to be OK:And running
netstat -atpn
:The text was updated successfully, but these errors were encountered: