Skip to content

Network Configuration

Hytale uses the QUIC protocol over UDP for all client-server communication. This differs from many games that use TCP.

Port 5520 (UDP)

Change with the --bind argument:

Terminal window
java -jar HytaleServer.jar --assets PathToAssets.zip --bind 0.0.0.0:25565

Hytale uses QUIC over UDP, not TCP. This is important for:

  • Port forwarding configuration
  • Firewall rules
  • Network troubleshooting

If hosting behind a router, forward UDP port 5520 (or your custom port) to your server machine.

TCP forwarding is not required.

Terminal window
New-NetFirewallRule -DisplayName "Hytale Server" -Direction Inbound -Protocol UDP -LocalPort 5520 -Action Allow
Terminal window
sudo iptables -A INPUT -p udp --dport 5520 -j ACCEPT
Terminal window
sudo ufw allow 5520/udp

QUIC handles NAT traversal well in most cases. If players have connection issues:

  1. Check port forward protocol - Must be UDP, not TCP
  2. Symmetric NAT - May cause issues; consider using a VPS or dedicated server
  3. Carrier-grade NAT - Players on mobile networks should connect fine as clients

If building network infrastructure:

  • Use Netty QUIC for proxy development
  • Packet definitions are in com.hypixel.hytale.protocol.packets in the server jar
  • Can decode, inspect, modify, or forward traffic

SRV record support (connecting via domain without port) is not yet available.

The team is evaluating options but hasn’t found a suitable C# library for SRV resolution that meets their stability requirements.