From a02de992086ad0088502ba4baa5adcca434f55b5 Mon Sep 17 00:00:00 2001 From: Legonzaur <34353603+Legonzaur@users.noreply.github.com> Date: Tue, 11 Jan 2022 17:20:43 +0100 Subject: added port check tools --- .../dedicated-server/troubleshoot.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'docs/hosting-a-server-with-northstar') diff --git a/docs/hosting-a-server-with-northstar/dedicated-server/troubleshoot.md b/docs/hosting-a-server-with-northstar/dedicated-server/troubleshoot.md index 060128c..aaf5624 100644 --- a/docs/hosting-a-server-with-northstar/dedicated-server/troubleshoot.md +++ b/docs/hosting-a-server-with-northstar/dedicated-server/troubleshoot.md @@ -6,31 +6,38 @@ This error means that masterserver can't access your server's tcp port. It can come from many reasons -### Your GameServer is out of date +#### Your GameServer is out of date Check that your server is running on the latest Northstar release as it can sometimes include breaking changes. -### Ports are not the same +#### Ports are not the same Your gameserver is configured to listen to a given TCP port, masterserver needs to be able to contact your gameserver though that same port. If the masterserver can't access your gameserver through the same port -### Windows Firewall is blocking tcp ports +#### Windows Firewall is blocking tcp ports In some cases Windows Firewall can prevent your ports to be exposed to your local network. To fix this issue, make a rule to allow your server to listen on your network. Disabling the firewall can also work, even if it's not reccomended. -### Router NAT configuration is incorrect +#### Router NAT configuration is incorrect If your port can be accessed from your local IP but not from your public IP, then it's very likely that your NAT rules aren't properly configured. +#### CGNAT +See [CGNAT](https://r2northstar.gitbook.io/r2northstar-wiki/hosting-a-server-with-northstar/prerequisites#cgnat) -### CGNAT +#### Mastserver is down +Check Northstar's Discord for annoucements. if https://northstar.tf gives you a HTTP 523 error, that means that the masterserver is offline. -### Mastserver is down +## Check if a tcp port is open -Check Northstar's Discord for annoucements. if https://northstar.tf gives you a HTTP 523 error, that means that the masterserver is offline. +To check if a tcp port is open, you can use online services like [canyouseeme](https://www.canyouseeme.org/) or use a command line tool. + +On Windows using Powershell the following command can detect if a port is accessible. + +`Test-NetConnection -ComputerName IP -Port PORT` -- cgit v1.2.3