What Is NetherNet in Minecraft Bedrock? RakNet vs NetherNet Explained
Learn how Minecraft Bedrock NetherNet works and fix connection errors with TCP, UDP and server-udp-ports examples for routers, Docker and Portwarp tunnels.
Portwarp Team
Oct 3, 2026
Your Minecraft Bedrock server can start normally, work on your home network, and still reject players connecting through a public address. With NetherNet, checking the main server port is only part of the diagnosis: the UDP endpoint announced for gameplay must also reach the server.
This guide covers server-udp-ports, TCP and UDP mappings, Docker, router port forwarding, CGNAT, and Portwarp tunnels. Configuration examples were checked against the documentation shipped with Bedrock Dedicated Server 1.26.52.3 on October 20, 2026. Substitute your actual addresses and allocations before using them.
What is NetherNet in Minecraft Bedrock?
NetherNet is Bedrock's WebRTC-based multiplayer transport. The client uses HTTP(S) signaling to exchange connection parameters, then establishes the game connection over UDP. Mojang documents capability discovery at GET /v1/join and connection negotiation at POST /v1/join/{networkId}. The server's negotiation response needs an ICE candidate—a possible IP address and port—that the player can actually reach. Mojang's NetherNet onboarding guide.
The official Bedrock 26.50 changelog records NetherNet becoming the default transport for dedicated servers. Check the running build and its retained configuration before choosing a hosting preset.
RakNet vs NetherNet: which ports do you need?
| Server configuration | Signaling / entry | Gameplay | What to check |
|---|---|---|---|
| Bedrock with RakNet, on builds that support it | UDP on the configured server port | The configured UDP endpoint | The appropriate UDP forwarding rule |
| BDS with NetherNet | TCP on server-port, normally 19132 |
Negotiated UDP endpoints | TCP signaling, UDP mappings, and the advertised public endpoints |
For BDS 1.26.52.3, server-portv6 is ignored in NetherNet mode: the signaling listener uses server-port for dual-stack operation where available. Adding UDP 19133 is not a general NetherNet fix. Check the Transport and UDP port configuration for NetherNet sections in bedrock_server_how_to.html, included in the official BDS download.
Switching to RakNet is build-dependent and is not a lasting substitute for configuring NetherNet correctly.
Why the tunnel is online but Minecraft cannot connect
An online tunnel indicates that the agent has established its tunnel transport. It does not demonstrate that a Minecraft player has completed signaling, UDP connectivity checks, and the game connection.
Consider a tunnel that forwards public TCP and UDP port 25000 to local port 19132. TCP signaling might reach BDS correctly. If BDS then announces a different UDP port without a matching public mapping, gameplay cannot follow that route.
An anonymized support case showed this configuration gap: the main tunnel used TCP+UDP on local 19132, while the server had transport=nethernet and only the commented line # server-udp-ports=. That establishes a missing explicit mapping configuration. It does not establish the exact failure stage or prove a successful fix; those require an external join test.
What does server-udp-ports do?
The BDS documentation describes automatic UDP allocation from the operating system's ephemeral range. server-udp-ports can constrain local allocation and publish external mappings. An entry can be a local port/range, or:
[ip:]external[-external]:internal[-internal]
The external port comes first. Ranges must have equal lengths. Separate entries with commas when the allocations are not contiguous. These forms are documented in the files shipped with BDS 1.26.52.3.
The examples below translate concrete forwarding layouts into that syntax. All occurrences of 203.0.113.10 are documentation placeholders, not a working Portwarp address. The sample port numbers are choices, not mandatory NetherNet ports.
Three addresses and ports to keep separate
| Value | Meaning |
|---|---|
| Local host and port | Where the router, container mapping, or agent delivers traffic to BDS |
| Public IP and port | Where the remote player sends traffic |
| Advertised endpoint | What BDS tells the player to use during negotiation |
The last two must describe a real route to the first. Adding a public IP to server-udp-ports describes that route; it does not create a router rule, Docker publication, or tunnel allocation.
Before editing, save a copy of server.properties and stop BDS. Apply the configuration through your hosting panel if it manages this file, then restart the server. A line beginning with # remains a comment, as explained in Microsoft's server.properties reference.
Scenario 1: BDS has a directly reachable public IP
If the server itself owns a public interface reachable by players, an explicit local UDP allocation range can be a useful starting point:
transport=nethernet
server-port=19132
server-udp-ports=19140-19144
Allow TCP 19132 and UDP 19140–19144 through the host and provider firewalls. Check that negotiation actually advertises reachable candidates. An IP displayed by a website does not mean that address is assigned directly to your server interface.
Scenario 2: router port forwarding with a public IPv4 address
Suppose the router has public IP 203.0.113.10, and BDS runs on a computer inside the LAN. Create these mappings to that computer:
| Protocol | Public port | BDS local port |
|---|---|---|
| TCP | 19132 | 19132 |
| UDP | 19140–19144 | 19140–19144 |
The corresponding configuration is:
transport=nethernet
server-port=19132
server-udp-ports=203.0.113.10:19140-19144:19140-19144
If the router instead forwards public UDP 30000–30004 to local UDP 19140–19144, change the mapping entry to:
server-udp-ports=203.0.113.10:30000-30004:19140-19144
Also allow delivery through the computer's firewall. Test from another network; an internal test does not demonstrate the public route.
Scenario 3: Docker or a container hosting panel
Account for every translation between the player and BDS. For the same illustrative layout, publish:
TCP host 19132 -> container 19132
UDP host 30000-30004 -> container 19140-19144
For a Docker invocation, the port publication options would be:
-p 19132:19132/tcp -p 30000-30004:19140-19144/udp
Use the remapped server-udp-ports entry from Scenario 2, replacing its public IP. If another router sits in front of the Docker host, it must forward the public ports to the host ports too. Announcing the container's private address will not make it reachable from the internet.
With Pterodactyl or another managed panel, use ports actually allocated to your server. Check whether a startup template overwrites manual changes. Verify TCP and UDP availability separately rather than assuming a displayed port allocation includes both.
Scenario 4: one connection through an existing Portwarp tunnel
This is a single-connection diagnostic example, not a validated recipe for every relay or a multi-player deployment.
Suppose the tunnel has these verified mappings on public IP 203.0.113.10:
| Protocol | Public port | Local port |
|---|---|---|
| TCP | 25000 | 19132 |
| UDP | 25000 | 19132 |
In Portwarp, that means Both / local port 19132. For a deliberately one-player test, configure:
transport=nethernet
server-port=19132
max-players=1
server-udp-ports=203.0.113.10:25000:19132
Players use the tunnel hostname and public port 25000. BDS keeps its local port 19132. No extra UDP mapping is needed for this particular layout because the existing Both mapping already covers that UDP port.
Confirm the public UDP entry IP with the tunnel's endpoint information or support. Resolving the hostname provides a candidate address, but does not independently prove which address handles UDP. Do not copy an unrelated node IP, your home's public IP, or the example IP.
A real join from outside the LAN is necessary to validate this layout, including ICE checks through the relay. Restore the previous configuration if the diagnostic fails and collect the failure details.
Scenario 5: several players through Portwarp
Port count depends on the server implementation. The Cloudburst/Geyser authors explain that current vanilla BDS needs a separate UDP port per player connection, while their implementation multiplexes multiple players on one UDP port. This is a BDS implementation constraint, not a universal NetherNet requirement. Explanation by the networking implementation's authors.
For a five-player BDS deployment, an illustrative starting allocation is:
| Mapping | Protocol | Public port | Local port |
|---|---|---|---|
| Main | Both | 25000 | 19132 |
| Gameplay A | UDP | 30000 | 19140 |
| Gameplay B | UDP | 30001 | 19141 |
| Gameplay C | UDP | 30002 | 19142 |
| Gameplay D | UDP | 30003 | 19143 |
| Gameplay E | UDP | 30004 | 19144 |
The signaling uses the main mapping's TCP side; gameplay uses the extra UDP mappings:
transport=nethernet
server-port=19132
max-players=5
server-udp-ports=203.0.113.10:30000-30004:19140-19144
Reserve the real mappings before writing this line. This example assumes the public UDP ports are contiguous and share the same entry IP. It does not mean Portwarp will allocate those exact numbers. Check the ports available under your plan; a preset name does not itself establish that the required allocations exist.
Test all five players and reconnections before declaring that capacity supported. Port availability is only one part of a successful connection, and overlapping attempts can require additional room.
What if the public UDP ports are not consecutive?
For example, these individual allocations map to the same five local ports:
server-udp-ports=203.0.113.10:30000:19140,203.0.113.10:31020:19141,203.0.113.10:32990:19142,203.0.113.10:34110:19143,203.0.113.10:35100:19144
Every pair must match an actual tunnel mapping. Do not replace this list with 30000-35100: that would describe thousands of ports you have not reserved.
If the entry IP or public ports change during a migration, update the advertised mappings and restart BDS as required. A stable hostname alone does not update IP literals in this property.
Scenario 6: CGNAT, double NAT, or no router access
First distinguish a NetherNet mapping problem from an upstream connectivity problem. CGNAT introduces an ISP-controlled translation layer; a rule on your home router alone does not configure that layer. The shared range 100.64.0.0/10 is defined for carrier-grade NAT use, although the absence of such an address is not proof that you have unrestricted public IPv4 connectivity. RFC 6598.
With two routers you control, make the mappings consistent through both or use an appropriate bridge configuration. With CGNAT or no router access, a compatible reverse tunnel can supply public entry endpoints instead. Advertise those tunnel endpoints and ensure their gameplay UDP mappings exist. Changing server-udp-ports alone cannot remove an ISP's NAT or firewall.
Portwarp's Minecraft hosting guide explains the reverse-tunnel approach. Use this article's Bedrock-specific checks alongside it; Java's usual TCP-only setup does not describe NetherNet hosting.
How to troubleshoot a Minecraft Bedrock NetherNet error
Work through the stages in order:
- Local capability response. With BDS running, request
http://LOCAL_SERVER_IP:19132/v1/join, using the actual local host and signaling port. A valid response identifies a local signaling endpoint. - Public capability response. Request the same path through the public hostname and port. If the mapping exposes port 25000, test 25000, not an assumed 19132. Use HTTPS where your endpoint provides it.
- Negotiated destination. During a legitimate in-game attempt, inspect the announced candidate IP and UDP port. They must correspond to a working public mapping.
- UDP return path. Check that packets reach the node/router, the agent/container, and BDS, and that replies return to the player. A TCP port checker cannot validate this path.
- Admission and gameplay. Use a compatible client and an allowed account. Test a complete join, multiple players, and reconnections.
For a plain-HTTP diagnostic endpoint, a command-line check might be:
curl --max-time 10 http://YOUR_PUBLIC_HOST:25000/v1/join
On Windows, use curl.exe if curl invokes a PowerShell alias. A successful capability check does not validate the negotiation POST or gameplay. Signaling request definitions.
Keep the client's expanded error details and relevant timestamps. Protect account and session information when sharing diagnostics. Neither a generic NetherNet message nor an online tunnel indicator identifies the failed stage by itself.
Frequently asked questions
Is Minecraft Bedrock port 19132 TCP or UDP?
It depends on the active transport. In BDS NetherNet mode, 19132 is normally the TCP signaling port; gameplay uses negotiated UDP endpoints. Traditional RakNet hosting uses UDP. Inspect transport= and the documentation shipped with the running build.
Does selecting TCP+UDP fix NetherNet automatically?
It supplies both protocols for the chosen mapping. It does not automatically reserve every other UDP port BDS may allocate or configure the endpoints advertised in server.properties.
Do all NetherNet servers need one port per player?
No. Current vanilla BDS and multiplexing server implementations have different port requirements. Identify the server software before deciding how many UDP mappings to reserve.
Should I put my Portwarp public port in server-port?
Keep server-port equal to the local signaling port configured as the tunnel destination. Put the relevant public UDP ports in the external side of server-udp-ports mappings.
Does server-ip belong to the Portwarp node?
server-ip selects a local bind address. An address belonging to a remote relay node is not a local interface of the BDS machine. Public mapping information belongs in the appropriate advertised mapping configuration.
Can I use the same BDS examples for Geyser?
Use Geyser's own configuration. Its setup guide supports NetherNet and a mixed NetherNet/RakNet mode; the mixed mode uses a separate UDP webrtc-port. Do not apply vanilla BDS port-count assumptions or server.properties settings directly to Geyser. Geyser setup documentation.
Set up the complete public path
Choose the Portwarp preset that matches the running transport, confirm the local signaling destination, and verify the required public UDP mappings. Then configure the endpoints BDS advertises and test a complete connection from outside the LAN.
If the tunnel is online but players still cannot join, give support the server version, relevant networking properties, public/local mappings, and expanded client error. That evidence makes it possible to investigate the failed stage instead of guessing from the tunnel status.
Topics
Portwarp PRO
Your first month of PRO, 25% off.
More tunnels, PRO regions, and custom domains for the projects that need them. Use the code with monthly billing at checkout.
Promo code
See PRO pricing