Oh! Within the container? Interesting! This means that your flask server is not running (crashed) or that you are using a flask config that has overwritten the default port 5000 (may be 8080?). In case of a crash, may be try to attach to the running container and investigate that. Then try running the flask server yourself to see the reason of the crash. Otherwise investigate the appropriate internal port your server is running off and that may work for the mapping.
palingwende
(Faical Yannick Palingwende Congo)
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Golang API does returns an error -> curl: (56) Recv failure: Connection reset by peer | 6 | 9297 | February 28, 2018 | |
| Curl: (56) Recv failure: Connection reset by peer | 2 | 265 | March 18, 2026 | |
| Cannot connect to (flask) container from Ubuntu host | 1 | 652 | May 9, 2024 | |
| Curl: (56) Recv failure: Connection reset by peer - Alpine | 1 | 11642 | May 15, 2019 | |
| Failed to make a request from docker to the host machine | 1 | 280 | July 2, 2024 |