mschnitzer / ark-survival-ascended-linux-container-image

A docker/podman container that is able to run an ARK: Survival Ascended on a Linux host.
69 stars 13 forks source link

I cannot connect locally to the server. #38

Closed itsjohnn22 closed 6 months ago

itsjohnn22 commented 6 months ago

I keep having an issue connecting to the server locally, it keeps giving me connection timed out error. Server shows up on the server list. Any ideas why this keeps happening?

mschnitzer commented 6 months ago

Try to connect using the open command in ARK and try to connect using the local IP of the container. The command in ARK would look like this:

open $ip:7777

The IP of the container can be figured out by using this command:

docker inspect asa-server-1 | grep IPv4Address

Are you running the ASA client on Linux and thus on the same system as the game server container?

itsjohnn22 commented 6 months ago

Yes, I've tried it on the same system through a VM. I also attempted it on my other rig. When I ran the open command in Ark, I encountered a black screen. When I try to run docker inspect asa-server-1 | grep IPv4Address in the terminal, I don't get any output.

mschnitzer commented 6 months ago

Could you please post the full output of docker inspect asa-server-1 - you might need to censor some things, so please go through the output before posting it here (e.g. if you specified the server or rcon password on command line).

Your issue sounds like a routing issue tbh.

itsjohnn22 commented 6 months ago

I fixed it. I can connect by going to single player and using the open command. but cannot connect through the server tab.

mschnitzer commented 6 months ago

Yes, and I do believe this is because an attempt to connect through the server browser, will let your client try to establish a connection with your external IP address, which is behind a router firewall. This will very likely only work if you do a port forwarding, as the server browser is not aware of the fact that you are actually in the same network like your game server, so it is unaware of your local IP.

If you want to have this working, I'd try to forward ports in your router and make them accessible from the internet. But if your intend is to have this server only for you and your family, then I'd not bother with that and use the open command instead.

mschnitzer commented 6 months ago

Please reopen this issue if you have any further questions.

deronneal0 commented 1 month ago

So I got the server up and going but for some reason i cant set a admin and server password. I tried to add it in the gameusersettings and yaml file but it didnt work. I also tried a cluster server but the second cluster never showed up after it was running

mschnitzer commented 1 month ago

Could you please open a new issue for your case?