Getting the "Failed to Connect to Server" error in Hytale? You're not alone. This is one of the most common issues players are experiencing, especially when trying to join a friend's server.
In this guide, we'll cover all the fixes for this connection error, including the dreaded I18nModule.getMessages bug.
Common Error Messages
You might see one of these errors when trying to connect to a Hytale server:
- "Failed to Connect to Server. The host may be offline or behind a strict firewall"
- "Could not connect to any available address"
- "An unexpected error occurred"
I18nModule.getMessages (I18nModule.java:315)
Let's go through the fixes one by one.
Fix 1: Change Your System Language (I18nModule Fix)
The most common cause of the I18nModule.getMessages error is a language or locale mismatch on your system. This is an easy fix.
Windows
- Open Settings > Time & Language > Language & region.
- Set your Windows display language to English (United States).
- Under Regional format, select English (United States).
- Restart Hytale completely.
macOS
- Open System Settings > General > Language & Region.
- Set Primary language to English.
- Set Region to United States.
- Restart Hytale.
This fix resolves the I18nModule error for most players.
Fix 2: Disable Your Firewall
If the error mentions "strict firewall," your Windows Firewall or antivirus might be blocking the connection.
Temporarily Disable Windows Firewall
- Search for Windows Defender Firewall in the Start menu.
- Click Turn Windows Defender Firewall on or off.
- Select Turn off Windows Defender Firewall for both Private and Public networks.
- Try connecting to the server again.
If this fixes the issue, you should add Hytale as an exception rather than leaving your firewall disabled:
- Go back to Windows Defender Firewall.
- Click Allow an app through firewall.
- Click Allow another app and browse to your Hytale installation.
- Make sure both Private and Public are checked.
- Turn your firewall back on.
Fix 3: Sync Your System Clock
An incorrect system time can cause authentication failures when connecting to servers.
Windows
- Right-click the clock in your taskbar.
- Select Adjust date/time.
- Enable Set time automatically.
- Click Sync now.
macOS
- Open System Settings > General > Date & Time.
- Enable Set date and time automatically.
Fix 4: Port Forwarding (For Server Hosts)
If you're hosting a Hytale server for your friends and they can't connect, you likely need to set up port forwarding on your router.
- Log into your router's admin panel (usually
192.168.1.1or192.168.0.1). - Find the Port Forwarding section.
- Add a new rule with:
- Port: Your Hytale server port
- Protocol: TCP/UDP (or Both)
- IP Address: Your computer's local IP address
- Save and restart your router.
Alternatively, consider using a game server hosting provider which handles all the networking for you.
Fix 5: Verify the Server Is Online
Before troubleshooting further, make sure the server is actually running:
- Ask the server host to verify it's online
- Check for error messages in the server console
- If using a hosting provider, check the control panel status
Fix 6: Check Your IP Address and Port
Double-check you're using the correct connection details:
- Confirm the IP address with the server host
- Include the port number if it's not the default (e.g.,
123.45.67.89:25565) - Check for any typos
Still Can't Connect?
If none of these fixes work:
- Restart both the game and the server completely
- Ask if other players can connect (to rule out server-side issues)
- Try connecting from a different network (like a mobile hotspot)
- Check the Hytale Discord for known issues
For GHOSTCAP customers experiencing connection issues, open a support ticket and we'll help you troubleshoot.


