-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SERVER_PORT & SERVER_QUERYPORT env vars stop server to work with steam game browser #4
Comments
Hey, this env var just sets the ip in the enshrouded_server.json. The ip is only for binding to the right network and can most likely ignored. You can read more about the available configs here (Enshrouded Docs) When you leave it empty, the default will be used (0.0.0.0) which binds to all networks or basically allow all incoming connections. Have you tried to find the server with the steam servers list? (Steam -> View -> Servers) If you can't find your server listed there, you can try to manually add the ip on the same window. If it doesn't show you your server, you probably have a firewall issue. If the server runs on the same network (locally), than it might be a dns-rebind-issue of your router. In that case, could you check if someone else can access the server? |
Does |
Just verified, both need to be valid ipv4 addresses. The I should update my docs to clarify that both variables only allow ipv4 strings. |
Hello @cp-fabian-pittroff , i have the same problem with the server. The server is launched and registered on Steam.
But when i'm in the game and searching for the server, i can't find it. I think it's an issue with the game, that is not able to retrieve all servers with the Steam API. curl -sX GET "https://api.steampowered.com/IGameServersService/GetServerList/v1/?key=**REDACTED**&filter=addr\\***.***.***.***:15637"
{"response":{"servers":[{"addr":"***.***.***.***:15637","gameport":15636,"steamid":"***","name":"crazyhorde","appid":1203620,"gamedir":"Enshrouded","version":"0.0.15.0","product":"Enshrouded","region":-1,"players":0,"max_players":16,"bots":0,"secure":false,"dedicated":true,"os":"w","gametype":"1;487046"}]}} |
Jeah, they hotfixed the server browser yesterday. It is now limited to about 50 I think. You should find your server directly in the steam servers browser (Steam -> View -> Servers) and mark it as a favorite (Docs) PS: I removed your public IP & steamid from the comment. |
@coute I can't find it in steam either. Is the server still running? |
Yes. The server is running. |
Hm, thats very odd. Maybe try restarting the server and double check if there is any firewall blocking incoming packages (udp). If it is a homeserver scenario, also check if you forwarded both udp ports to the server. |
Strangely mine is now in the list, but another one from gportal not. Seems to be some issue with the server browser of the game to me. I changed nothing at the config... |
I'm experiencing the same issue; I am unable to find my server consistently.
|
@MrSnake0208 could you tell me your server name, so I can try to find it? And also double check if there is some firewall or forwarding issue on the server network. |
No issue with the firewall nc -v -u ***.***.***.*** 15636
Ncat: Version 7.70 ( https://nmap.org/ncat )
Ncat: Connected to ***.***.***.***:15636.
nc -v -u ***.***.***.*** 15637
Ncat: Version 7.70 ( https://nmap.org/ncat )
Ncat: Connected to ***.***.***.***:15637. |
Yahu Farm |
you use 15637 and 8? In the steamapi it returns 15636 for the gameport and 7 for query. |
I use 37304 and 38304 because share the device with others and i can't use 15636 and 15637 |
I'm a monkey ! 15667 |
An other thing to fix because i'm using swarm, set the host mode :
And always check that ports are opened on the host : ss -nlu | grep 1563
UNCONN 0 0 0.0.0.0:15636 0.0.0.0:*
UNCONN 0 0 0.0.0.0:15637 0.0.0.0:* |
@MrSnake0208 I tested it with a second enshrouded server. It seems, I can only find one server. The other sever returns the same same query and gameport for a different steamid. Not sure why though Do you have another server running on the same public ip? |
oh well, I might have the problem - give me a sec |
After to have fixed ports, i still have the same problem. |
found the problem. For now don't use the For now just remove the env vars and set the ports manually in the enshrouded_server.json without the ". I will prepare a fix, after I did some more testing. |
fix is available with the current dev branch. I will add some more changes and publish a new release later today. |
Fixed for me. It was a firewall issue. My bad. |
Is there an existing issue for this?
Feature description
What is this exactly doing? Is that the external or internal ip? My docker is up and running but i cant find it in the server list, even if the logs said its connected and up (ports are open and correct). So i guess its maybe something with this ip thing, actual its empty.
The text was updated successfully, but these errors were encountered: