#StackBounty: #docker #socket.io #python-socketio Docker SocketIO not found (Python)

Bounty: 50

When running my Python-SocketIO app normally, the SocketIO connection to the frontend works fine. In a docker container, it can’t be connected to.

Output from Docker container:

======== Running on http://0.0.0.0:8080 ========

(Press CTRL+C to quit)

A similar problem was brought up for the standard SocketIO but Python-SocketIO doesn’t mention a config.json file, therefore I didn’t include one to any capacity. I also don’t believe it matters because the program’s output already depicts 0.0.0.0:8080 as opposed to 127.0.0.1:8080

My run configuration(s): -> Have tried all

docker run --rm -d <CONTAINER_ID>
docker run --rm -d --network host <CONTAINER_ID>
docker run --rm -d --network host <CONTAINER_ID> -p 0.0.0.0:8080/tcp

8/19/20 NOTE: Connection to docker container is made via the Client API.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.