Docker Community Forums

Share and learn in the Docker community.

Unity clients can't connect to server on Docker container

Hi! I’ ve a small unity c/s application developed using MLAPI. I’m on Windows 10 pro and i can succesfully obtain a windows build or a linux build, in default or headless mode. I want to put on a container the headless server (already tested and in a ubuntu vm). I have copied using the dockerfile the folder obtained from unity build, and i managed to run the server using cmd in dockerfile. The problem: clients on windows can’t connect to server (on docker container). The network manager uses 127.0.0.1 (localhost) as server address and i think that’s could be the problem. I tried also to use 192.168.99.100, while windows clients still set to try to connect to 127.0.0.1 without results. Someone help me please.