Hermsi1337 / docker-ark-server

Dockerize your ARK server - configurable via env
https://hub.docker.com/r/hermsi/ark-server/
MIT License
112 stars 36 forks source link

Server doesn't allow connections - times out #7

Closed jahnooska closed 3 years ago

jahnooska commented 3 years ago

I've gotten as far as creating a compose file and spinning the container up; the server appears correctly on the server list but doesn't allow anyone to connect.

On the first attempt I see the loading screen with "PrimalGameData_BP" before I'm bounced back to the server list and it eventually fails with error "Connection Timeout."

I can see the days incrementing on the server, so it appears to be up & running.

I've also tried connecting directly to the server over my local network and have the same issue.

Am in the process of troubleshooting, but I've spent a few hours and had no luck. I'm not sure if there's a configuration value that maybe is not getting set properly somewhere?

jahnooska commented 3 years ago

Compose file:

version: "3" volumes: rj-ark-theisland-data: driver: local driver_opts: type: "none" o: "bind" device: "/u01/games/rj-ark/worlds/rj-theisland" services: rj-ark-theisland: image: hermsi/ark-server:latest environment:

jahnooska commented 3 years ago

I found the cause of the problem.

It appears that even though GAME_CLIENT_PORT is specified as 7778 in my compose file it is still utilizing 7777.

Final ports that worked: ports:

Hermsi1337 commented 3 years ago

Hey M8,

I'm glad that you already figured out the solution.

I've fixed the wrong port-specs inside the docker-compose.yml and the Dockerfile.
Thanks for pointing it out.

In case you want to run multiple ARK-Server on the same host I recommend these docs: https://ark.fandom.com/wiki/Dedicated_server_setup#Network