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 (localhost) as server address and i think that’s could be the problem. I tried also to use, while windows clients still set to try to connect to without results. Someone help me please.