Closed schloram closed 2 years ago
You can log into the server host and try to hit the endpoint locally to make sure the status server is running. curl localhost:80/status.json
@ericljiang Thanks for your help.
I tried that already and unfortunately it returns
curl: (7) Failed to connect to localhost port 80: Connection refused
Do I have to include the -p
parameter for port 80 in the valheim service as well?
Okay it was just the line -p 80:80/tcp \
inside the systemd service that I was missing. I could have figured that out earlier. 🙈
Ah yes I forgot about that too
Hi, me again. I have a question about the
status.json
and how to access it from the web.I have these two env variables set:
(
STATUS_HTTP_PORT
is left untouched)Shouldn't then the
status.json
file be publicly available viamy.valheim-server.com/status.json
? Am I missing something or do I have to set something else? Because I can't get this to work. 🤔 I can connect to the server from the Valheim Server list withmy.valheim-server.com
so the DNS shouldn't be a problem (I guess).I currently use the systemd service to run the container.
Where can I check if the "status web server" mentioned in this section os up and running?
Any help would be appreciated. Thank you :)