> For the complete documentation index, see [llms.txt](https://docs.hogwarp.com/hogwarp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hogwarp.com/hogwarp/server/troubleshooting.md).

# Troubleshooting

### Failed to initialize Nethost

Install [.NET 8.0 Desktop Runtime](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-8.0.13-windows-x64-installer)<br>

### Server console instantly closes

* Install [Visual C++ Redistributable](https://aka.ms/vs/17/release/vc_redist.x64.exe)
* Install [.NET 8.0 Desktop Runtime](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-8.0.13-windows-x64-installer)

### Others can't connect to my server

* Ensure `Server.Loader.exe` is still running (it must be running for anyone to connect)
* Allow `Server.Loader.exe` through your firewall
* If you are port-forwarding:
  * Check the port you forwarded, it must match what "Port" in config.json is set to (default is 11778)
  * Try changing the protocol to only UDP
* If you are on a LAN or using a virtual network software (Hamachi, Radmin VPN, ZeroTier, etc):
  * The IP  attempting to be used should start with either 10, 172, or 192.168\
    ex. 192.168.1.15
  * Make sure you are attempting to connect to the correct IP, the host's

### System.IO.DirectoryNotFoundException

Double check that there is a `Mods`folder in the `Server`folder.
