Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TLeonardUK committed Feb 3, 2022
2 parents b94b9f0 + 45a5965 commit bf35b84
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ There are a few different causes of this, the simplest one is to make sure you'r

If the server is being hosted by yourself and the above doesn't solve your issue, try these steps:

Ensure these ports are forwarded on your router, both for tcp and udp: 50000, 50010, 50050, 50020
1. Ensure these ports are forwarded on your router, both for tcp and udp: 50000, 50010, 50050, 50020

Its possible you don't have the configuration for the server setup correctly. After running the server once make sure to open the configuration file (Saved/config.json) and make sure its setup correctly (it will attempt to autoconfigure itself, but may get incorrect values if you have multiple network adapters). The most critical settings to get correct are ServerHostname and ServerPrivateHostname, these should be set to your WAN IP (the one you get from sites like https://whatismyip.com), and your LAN IP (the one you get from running ipconfig) respectively. If you are using LAN emulation software (eg. hamachi) you will need to set these to the appropriate hamachi IP.
2. Ensure you have allowed the server access through the windows defender firewall, you can set rules here: Start Bar -> Windows Administrative Tools -> Windows Defender Firewall with Advanced Security -> Inbound/Output Rules

3. Its possible you don't have the configuration for the server setup correctly. After running the server once make sure to open the configuration file (Saved/config.json) and make sure its setup correctly (it will attempt to autoconfigure itself, but may get incorrect values if you have multiple network adapters). The most critical settings to get correct are ServerHostname and ServerPrivateHostname, these should be set to your WAN IP (the one you get from sites like https://whatismyip.com), and your LAN IP (the one you get from running ipconfig) respectively. If you are using LAN emulation software (eg. hamachi) you will need to set these to the appropriate hamachi IP.

## What do all the properties in the config file mean?
The settings are all documented in the source code in this file, in future I'll write some more detailed documentation.
Expand Down

0 comments on commit bf35b84

Please sign in to comment.