Code Monkey home page Code Monkey logo

Comments (5)

thmhoag avatar thmhoag commented on May 27, 2024

Hey @catzoo. By default the dedicated server will open up two ports, both the one you specify and then another for RawSockets, typically the one you specified +1. So in your case, it would be opening the following:

7777 - the one you specified
7778 - the RawSocket port.

More information on the RawSockets stuff can be found here: https://ark.gamepedia.com/Dedicated_Server_Setup

As far as fixing the issue, I'd recommend just opening both ports on the container. So your docker run command would end up looking something like this:

sudo docker run -d --name ark_server \
-p 27015:27015 \
-p 7777:7777 \
-p 7778:7778 \
-p 32330 :32330 \
-v ark:/ark \
-v steam:/home/steam/steam \
-e am_serverMap=Valguero_P \
-e am_ark_SessionName="ButterNuggetz server" \
-e am_ark_MaxPlayers=8 \
-e am_ark_ServerAdminPassword=password\
-e am_ark_ServerPassword=password\
-e am_ark_QueryPort=27015 \
-e am_ark_Port=7777 \
-e am_ark_RCONPort=32330 \
thmhoag/arkserver

from arkserver.

catzoo avatar catzoo commented on May 27, 2024

Thank you for responding.

Sorry, I should've put more info in my issue. When I set am_ark_port=7777 for some reason in the run arguments it has ?Port=7778. I also tried it using the default environment port 7778 and the run arguments go in reverse and have ?Port=7777. I mean when I looked at the logs and when it runs the ark server with those arguments.

Or is that normal since it opens both 7777 and 7778?

I will modify my run command to the one you gave me and try it again.

Thanks!

from arkserver.

catzoo avatar catzoo commented on May 27, 2024

There might've not been an issue. I run the ark_server and i'm still seeing the ?Port argument different, this time it was set to ?Port=7776.

But I successfully joined the ark server.

Sorry about that and thanks for your help.

from arkserver.

thmhoag avatar thmhoag commented on May 27, 2024

No problem @catzoo, glad you were able to get it figured out.

from arkserver.

catzoo avatar catzoo commented on May 27, 2024

oh sorry to comment on a closed issue. I found more information and a solution to the problem I was having.

If anyone is having this issue, it decrease the port by one. So if you're trying to set the port to 7777-7778, set Port to 7778.

More information here: arkmanager/ark-server-tools#887

from arkserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.