THESPIKE.GG
THESPIKE
    EN
    Login
    EN
    1. Home
    2. HYTALE
    3. Beginner Guides
    4. Hytale port forwarding: How to guide

    Hytale port forwarding: How to guide

    ON THIS PAGE:

    • Port forwarding for Hytale in plain terms
    • Check the server port and bind address
    • Give your server PC a stable local IP address
    • Create the port forward rule on your router
    • Allow UDP 5520 in your firewall
    • Test the connection
    • Most common Hytale port forward failures
    • Know when port forwarding cannot work
    port forwarding hytale
    Written By Onur Demirkol

    (Content Writer)

    Reviewed by: Onur Demirkol

    (Content Writer)

    Last UpdatedJanuary 21, 2026 at 08:22PM
    Share On
    Share On

    Port forwarding looks intimidating, but Hytale keeps the network side simple. You open one UDP port on your router, you allow the same port in your firewall, and you confirm the server listens on the correct address. After that, friends can join from outside your home network.

    This guide focuses on the default Hytale server setup, which uses QUIC over UDP on port 5520. That detail matters because many home guides still push TCP rules first, and that approach can waste time with Hytale.

    Port forwarding for Hytale in plain terms (UDP and QUIC in one place)

    Port forwarding tells your router where to send inbound game traffic from the internet. Without it, your router drops that traffic because it has no rule that maps the connection to your server PC.

    Hytale also runs game traffic over QUIC on UDP, so you must forward UDP, not TCP. If you only open TCP, players can still time out.

    Check the server port and bind address before you touch the router

    Hytale servers listen on UDP 5520 by default. Hytale also lets you change the port with the --bind argument.

    Use these quick checks:

    • Keep the default port when you run a first server. It reduces mistakes.
    • If you change ports, forward and allow the new UDP port everywhere.

    Example launch pattern you can adapt:

    • Default style: --bind 0.0.0.0:5520
    • Custom style: --bind 0.0.0.0:25565

    Give your server PC a stable local IP address

    Port forwarding only works when the router points to the correct device. Many routers assign new local IPs after reboots, so a working port forward can break overnight.

    Pick one method:

    • DHCP reservation in your router (recommended): Your router keeps the same local IP for your server PC.
    • Static IP on the PC: You set the IP on Windows or Linux and you match your router network range.

    Write down these values before you proceed:

    • Server PC local IP (example: 192.168.1.50)
    • Router gateway (example: 192.168.1.1)

    Create the port forward rule on your router (UDP 5520)

    Every router UI looks different, but the rule fields stay similar. Look for menus like Port Forwarding, NAT, Virtual Server, or Gaming.

    Create one rule with these settings:

    • Protocol: UDP (or UDP only)
    • External port: 5520
    • Internal port: 5520
    • Destination IP: your server PC local IP
    • Name: Hytale (any label works)
    The UI of your router settings might be different, but most categories should look like the one in this image (Image Credit: The Breakdown on YouTube)
    The UI of your router settings might be different, but most categories should look like the one in this image (Image Credit: The Breakdown on YouTube)

    Avoid these common mistakes:

    • You pick TCP instead of UDP.
    • You forward to the wrong local IP.
    • You save the rule but the router requires an extra “Apply” step.

    Hytale only needs UDP forwarding for game traffic.

    Allow UDP 5520 in your firewall (Windows and Linux)

    Your router can forward traffic and your firewall can still block it. You need an inbound allow rule for the same UDP port.

    Windows Firewall (PowerShell)

    Run PowerShell as Administrator and add an inbound rule:

    • New-NetFirewallRule -DisplayName "Hytale Server" -Direction Inbound -Protocol UDP -LocalPort 5520 -Action Allow
    Don’t forget to run PowerShell as Administrator (Image Credit: THESPIKEGG)
    Don’t forget to run PowerShell as Administrator (Image Credit: THESPIKEGG)

    Linux (UFW)

    If you use UFW:

    • sudo ufw allow 5520/udp

    These examples match the server networking requirements for UDP 5520.

    Test the connection from outside your home network

    A local test does not prove port forwarding. Your router handles local traffic differently, so you need a true external test.

    Use one of these methods:

    1. Turn off Wi-Fi on your phone and use mobile data.
    2. Ask a friend to connect from their home network.

    Connect with:

    • Your public IP and port: your.public.ip:5520
    • If you changed the port, use your custom port instead.

    Tip: Many “port checker” websites focus on TCP tests. UDP game ports often fail those checks even when everything works. Use a real Hytale connection test when possible.

    Fix the most common Hytale port forward failures

    Wrong protocol or wrong port

    Use UDP. Keep port 5520 for your first run. Then match your router rule, firewall rule, and server bind port.

    Double NAT in modem + router setups

    Some homes use an ISP modem-router plus a separate Wi-Fi router. Port forwards can fail when the forward sits on the wrong device. Fix options:

    • Enable bridge mode on the ISP device, then let your router hold the public IP.
    • Create the same UDP forward on the ISP device and on your router.

    Don’t forget to check out our guide on how to fix Hytale’s NAT type restricted error!

    The server binds to the wrong interface

    Set --bind 0.0.0.0:5520 so the server listens on all network interfaces. Then the router can reach it.

    Know when port forwarding cannot work (CGNAT)

    Some ISPs use carrier-grade NAT (CGNAT). CGNAT can block inbound connections even when you set perfect port forwards, because the ISP does not assign you a unique public IPv4 address.

    Practical paths that solve it:

    • Ask your ISP for a public IPv4 address or a static IP.
    • Run the server on a VPS or a dedicated host.
    • Use a tunnel service that provides an external endpoint.

    More Hytale guides for you to check out:

    • Is Hytale multiplayer? Learn how to play with friends
    • Hytale portal guide: Learn how to craft Hytale teleporters & fast travel
    • Fixing the Hytale NAT type restricted error: How to change NAT type
    • How to feed, tame & breed Hytale animals: Ride horses and learn what’s possible

    Featured Image Credit: Hytale

    Guide Categories

    • Mods
    • Beginner Guides
    • Resources
    • Weapons

    All Related Guides

    • How to repair in Hytale
      How to repair in Hytale: Repair Kits, item durability & moreLearn how to repair items in Hytale with Repair Kits, durability rules, crafting steps, and smart tips to keep...
    • best Hytale fuel for Furnace
      Best fuel for a Furnace in HytaleBest fuel for a Furnace in Hytale: compare all fuel types, burn times, and efficiency to find the best option ...
    • hytale commands
      All Hytale commands list: How to use commands in Hytale?Complete Hytale commands list with how to use them. Learn admin, building, teleport, item, and server commands...
    • hytale memories
      Unlock Hytale Memories and get rewardsGet Hytale Memories to earn rewards, fast travel upgrades, and recipes. Learn how to unlock, collect, and subm...
    • Hytale Forgotten Temple
      Find Hytale Forgotten Temple Gateway: Unlock Portals, Memories & moreLearn how to find the Hytale Forgotten Temple, unlock the Memories System, portals, teleporters, upgrades, and...
    • hytale
      Hytale Early Access Roadmap: What to expect in future updatesHytale early access roadmap explained in plain terms. Learn what to expect next, why the roadmap stays flexibl...
    • where to play hytale
      Where to play Hytale and how to install the gameLearn where to play Hytale today. See platform support, how to download and install Hytale, and the minimum an...
    • hytale failed to connect to server
      How to fix the Hytale failed to connect to server errorHow to fix the Hytale failed to connect to server error: Step-by-step solutions for network, firewall, router,...
    • 1
    • 2
    Onur Demirkol

    Onur Demirkol here, content writer for THESPIKEGG. I have been around for a very long time now, you may have seen me in the comments.

    I started writing here in 2021, but my first gig was back in 2018. That was when I realized people actually get paid to write about games. I’ve written thousands of articles for different media outlets, led teams, and conducted interviews with players.

    When I’m not behind the keyboard, I’m watching Galatasaray, following the NBA, or pretending I’m still good at basketball. I also work full-time at AnyDesk, writing serious things in not-so-serious ways.

    If you want to reach out, feel free to contact me on X, LinkedIn, take a look at my work at MuckRack or send me an email at [email protected].

    View More
    THESPIKE
    AboutCareersPrivacy PolicyTerms of UseAbout THESPIKEDisclaimer
    Contact UsCommercialsSend an emailPost Feedback
    ResourcesBetting SitesOnline CasinosSweepstakes Casinos
    © 2026 THESPIKE.GG | All Rights Reserved | Not affiliated with Riot Games
    18+ Bet Responsibly | BeGambleAware.org
    Light Mode
    Login