I have a server that runs in a container. It listens on port 8000. The container is started with:
Running a client on the same host as the server, and connecting to 48000 works fine. But I need to access the server from a remote host. If I run it remotely and use foo.com:48000 I get no route to host. If I use foo.com:8000 I get 405 Not Allowed, but that is coming from nginx running on foo.com, not from my server (which is running wsgi). How can I remotely access my server running in the container?