Updated Nov 17, 2026· 18 min read

Key takeaways

  • Find the right port ranges for PC gaming, with Steam, Call of Duty, Fortnite, Valorant, Destiny 2, Apex Legends, and Minecraft ranges explained in plain terms.

Best port ranges for PC gaming depend on the game and the platform, so a single wide open range is not the answer. This guide lists the ranges published for major PC games, explains TCP and UDP in plain terms, and shows how to set a static address, create a rule, and test the result without opening ports you do not use.

Quick verdict

Start with the range for the game you play most, add only the ranges for other games you play often, and leave everything else closed. Steam covers many PC titles, while Call of Duty, Fortnite, Valorant, Destiny 2, Apex Legends, and Minecraft each list their own ranges, so a short list matched to your library works better than a broad rule.

Game or platform Protocol Port range Best for Main limit
Steam on PC UDP and TCP UDP 27000-27250, UDP 27031-27036, TCP 27036, UDP 4380 Steam play and Remote Play Does not cover every game on its own
Call of Duty on PC TCP and UDP TCP 3074 and 27014-27050, UDP 3074, 3478, 4379-4380, 27000-27031 Warzone and modern Call of Duty titles Needs the right protocol for each entry
Fortnite on PC TCP and UDP TCP and UDP 5222 and 5795-5847 Fortnite on PC Console versions use different lists
Valorant on PC TCP and UDP TCP 2099, 5222-5223, 8088, 8393-8400, UDP 7000-8000 Valorant on PC only Wide UDP range needs care in setup
Destiny 2 on PC TCP and UDP TCP 1119-1120, 3724, 4000, 6113, 27015-27200, UDP adds 3097 and 3478 Destiny 2 on Steam Long range list takes time to enter
Apex Legends on PC TCP and UDP TCP 1024-1124, 9960-9969, 18000, 18060, 27015, 27036, UDP 1024-1124, 18000, 29900 Apex Legends on Steam and EA Entries differ by protocol
Minecraft Java Edition TCP and UDP TCP and UDP 25565 Hosting a Java server Only for the host PC
PlayStation and Xbox networks TCP and UDP PSN TCP 80, 443, 1935, 3478-3480, UDP 3074, 3478-3479; Xbox TCP 3074, UDP 88, 500, 3074, 3544, 4500 Console play on the same network Point each rule at the right device

How we selected

We selected ranges from published guides that list port numbers by game and platform, with Steam and console network ranges included for context. Each entry below gives the protocol and the exact range as listed, so you can match a rule to a game instead of guessing, and you can drop any range that does not match a game you actually play.

Port ranges by game and platform

This section works through the ranges one game at a time, with the protocol, the numbers, and the practical limits for each one. Read the entry for your game first, then check the setup and safety sections before you change any router setting, because a correct range still needs a static address and the right device.

Steam on PC and the best port ranges for PC gaming

Steam is the starting point for many PC players because so many titles run through it, and its ranges cover game traffic, matchmaking, and Remote Play. Use UDP 27000-27250 for game traffic, UDP 27031-27036 and TCP 27036 for Remote Play, and UDP 4380 for matchmaking, and enter each protocol exactly as listed.

Steam traffic is not one single stream. Game traffic, matchmaking, and Remote Play use different ports, which is why the list has several entries instead of one short range. Enter the ranges as separate rules when your router asks for a start port and an end port, and keep the protocol matched to each line. A rule that lists UDP 27000-27250 as TCP will not carry the UDP traffic that the game expects, and a rule that lists TCP 27036 as UDP will not carry the Remote Play traffic that needs TCP.

Steam also sits beside game specific ranges. Some Steam games list their own ports in addition to the Steam ranges, so check the game entry in this guide as well as the Steam entry. Call of Duty, Destiny 2, and Apex Legends all appear on Steam and all list extra ports, and those extra ports are part of the setup for those titles. Keep a short note of which rules belong to Steam and which belong to a single game, so you can remove a game rule when you stop playing that game without touching the Steam rules that other titles still use.

  • Pros: covers many PC titles through one platform, clear split by use, and Remote Play has its own listed ports.
  • Cons: does not replace game specific ranges, and several rules are needed to cover all Steam uses.
  • Use it if: you play Steam games often and want a base set of rules before adding game specific ports.
  • Skip it if: you play only one game that lists its own ports and you do not use Steam Remote Play.

Call of Duty on PC

Call of Duty on PC through Battle.net or Steam lists TCP 3074 and 27014-27050, plus UDP 3074, 3478, 4379-4380, and 27000-27031. The list is longer than a single range because login, voice, and match traffic use different ports, so enter each protocol group as its own rule.

Port 3074 appears for both TCP and UDP, which is common for this series, and the 27014-27050 TCP range and the 27000-27031 UDP range overlap in part but are not the same. Treat the TCP list and the UDP list as separate jobs, and do not merge them into one rule that uses the wrong protocol. If your router has a both option, use it only when the same port number is listed for both protocols, and use separate rules when the ranges differ. A careful entry here matters because a missing UDP entry can leave matchmaking working while in game voice or peer traffic still fails, and that split is easy to miss when you test only the menu screen.

Call of Duty also shares ports with console network services, so check the device that each rule points to. A PC rule should point at the PC static address, and a console rule should point at the console static address, even when the port number is the same.

  • Pros: detailed PC list covers login, match, and voice paths, and port 3074 is shared with console services.
  • Cons: long list takes time to enter, and TCP and UDP ranges must stay separate.
  • Use it if: you play Warzone or modern Call of Duty titles on PC and see strict network errors.
  • Skip it if: you play only on console, where the PlayStation or Xbox lists apply instead.

Fortnite on PC

Fortnite on PC lists TCP 5222 and 5795-5847, and UDP 5222 and 5795-5847, so the same numbers appear for both protocols. Enter the TCP rule and the UDP rule as separate entries unless your router offers a both option for the same range. Keep the PC list separate from the console lists for the same game.

Fortnite is a useful example of why protocol matters even when the numbers match. The game uses TCP for some traffic and UDP for other traffic, and a rule that covers only one protocol leaves half the path unmapped. If you see long queue times or voice chat problems after forwarding only TCP, add the UDP entries before you change anything else. The 5795-5847 range is a block of ports, not a single port, so enter it with a start port of 5795 and an end port of 5847 in the range fields, rather than creating a separate rule for each number in the block.

Fortnite on PlayStation and Xbox uses different lists, so do not copy the PC list to a console. The console lists in this guide use the platform network ports, and those ports apply to all games on that console, including Fortnite. Keep the PC list on the PC and the console list on the console, and label each rule with the device name so a later change does not send PC traffic to a console by mistake.

  • Pros: same numbers for TCP and UDP make entry simple, and the range format fits most routers.
  • Cons: console versions need a different list, and a single protocol rule is not enough.
  • Use it if: you play Fortnite on PC and want a short, clear set of rules.
  • Skip it if: you play Fortnite only on a console or through a platform that handles ports on its own.

Valorant on PC

Valorant on PC lists TCP 2099, 5222-5223, 8088, and 8393-8400, plus UDP 7000-8000. The UDP range is wide, so enter it as one range rule with a start of 7000 and an end of 8000, and keep the TCP entries separate. Enter the wide UDP block as one rule for a clean setup.

Valorant is PC only, which makes its list simpler to place than a cross platform title. There is no console version to confuse with the PC list, and every rule should point at the PC that runs the game. The TCP entries include single ports such as 2099 and 8088, plus the short ranges 5222-5223 and 8393-8400, so you will need several rules even though the game is a single title. Enter single ports as a rule with the same start and end port, and enter ranges with the start and end values as listed, so the router does not open more than the game asks for.

The UDP 7000-8000 range covers a large block, and that width is a reason to be careful rather than a reason to widen it further. Do not extend the range beyond 8000, and do not add nearby ports just in case, because extra open ports add risk without helping the game.

  • Pros: PC only list is easy to place, and the wide UDP range is listed as one block.
  • Cons: several TCP rules are needed, and the UDP block is wide.
  • Use it if: you play Valorant on PC and need its full listed set.
  • Skip it if: you do not play Valorant, since these ports are specific to that game.

Destiny 2 on PC

Destiny 2 on PC through Steam lists TCP 1119-1120, 3724, 4000, 6113, and 27015-27200, plus UDP 1119-1120, 3097, 3478, 3724, 4000, 6113, and 27015-27200. The TCP and UDP lists share most entries, but UDP adds 3097 and 3478, so check both lists line by line.

Destiny 2 has one of the longest lists in this guide, and the long 27015-27200 range is the part most players will enter as a single range rule. The shorter entries, such as 1119-1120, 3724, 4000, and 6113, still matter, because they cover different parts of the game connection, and leaving one out can leave a specific mode or chat path unmapped. Work through the list in order, TCP first and then UDP, and tick each entry off as you save it, so you do not lose track halfway through. If your router limits the number of rules, group the entries by protocol and keep the longest range as its own rule, since it covers the most ports in one entry.

Destiny 2 is a shared world game, so peer traffic and server traffic both matter, and that is why both protocols appear in the list. A strict network setting can limit which players you can join, and that limit shows up as failed joins rather than a clear error on the menu screen.

  • Pros: full list covers server and peer traffic, and the long range can be entered as one rule.
  • Cons: long list is easy to enter with a mistake, and UDP adds two ports that TCP does not list.
  • Use it if: you play Destiny 2 on PC and have trouble joining other players.
  • Skip it if: you play Destiny 2 only on console, where the platform lists apply.

Apex Legends on PC

Apex Legends on PC through Steam or EA lists TCP 1024-1124, 9960-9969, 18000, 18060, 27015, and 27036, plus UDP 1024-1124, 18000, and 29900. The 1024-1124 range appears for both protocols, while the other entries differ by protocol. Check both lists side by side before you save any rule.

Apex Legends shows how a game can use a broad low range for one purpose and single ports for another. The 1024-1124 block is a range rule, while 18000, 18060, 27015, 27036, and 29900 are single port rules, so you will mix range rules and single port rules in the same setup. Enter a single port with the same value as the start and the end, and enter a range with the start and end values as listed. Do not turn a single port into a range by guessing nearby numbers, because that adds open ports that the game did not ask for.

Apex Legends also uses Steam ports for some traffic, so the Steam entry in this guide is worth reading beside this one. If you play through Steam, the Steam ranges and the Apex Legends ranges work together, and a missing Steam entry can look like an Apex Legends problem. Keep the two sets labeled by name, so you can test one set at a time and find which entry makes the difference for your setup.

  • Pros: clear split between range rules and single port rules, and the shared range is listed for both protocols.
  • Cons: TCP and UDP lists differ, so a single list cannot be copied for both.
  • Use it if: you play Apex Legends on PC through Steam or EA.
  • Skip it if: you play Apex Legends only on console.

Minecraft Java Edition

Minecraft Java Edition lists TCP 25565 and UDP 25565, and this entry matters mainly when you host a server. Open both protocols for port 25565 and point the rule at the hosting PC static address, and only the host needs this rule. Joining a server needs no rule, so only the host should add it.

Minecraft is the simplest entry in this guide, with one port number for both protocols, and that simplicity makes it a good first test for port forwarding in general. If you can forward 25565 and a friend can join your server, your static address, router login, and rule format are all correct, and you can move on to longer game lists with more confidence.

Players who only join other servers do not need to forward 25565, because joining is outgoing traffic and the router handles it without a forwarding rule. Only the host needs the rule, and only the host PC should receive it. If you stop hosting, remove the rule, since an open server port with no server behind it is an open door with no purpose. Keep the server software updated, and use a strong admin login for the router, because a hosted server is a service that other people on the internet can reach.

  • Pros: one port for both protocols, easy to test, and only the host needs it.
  • Cons: does not help players who only join servers, and hosting adds a service to guard.
  • Use it if: you host a Minecraft Java server from your PC.
  • Skip it if: you only join other servers and never host.

PlayStation and Xbox network ranges

PlayStation Network lists TCP 80, 443, 1935, and 3478-3480, plus UDP 3074 and 3478-3479, while Xbox Live lists TCP 3074 and UDP 88, 500, 3074, 3544, and 4500. Use the list for your console, point it at that console, and do not mix the two lists. Point each rule at the right console so traffic stays separate.

Console network ranges apply to all games on that console, which is why they are useful even in a PC guide for a shared home network. If a PC and a console share the same router, the console rules and the PC rules sit side by side, and each rule must point at the right device. Port 3074 appears in both console lists and in the Call of Duty PC list, so it is a good example of why the device address matters more than the port number alone. Forwarding 3074 to the PC will not help the console, and forwarding it to the console will not help the PC.

Opening the platform ports can change a strict network type to a moderate or open type, according to the guides, and that change can improve matchmaking and peer connections.

  • Pros: one list covers all games on that console, and the lists are short and clear.
  • Cons: the same port can appear on two devices, and only one device can receive it.
  • Use it if: you play on PlayStation or Xbox on the same network as your PC.
  • Skip it if: you play only on PC and have no console on the network.

Buying guide for port ranges

This guide is not about buying a product, so treat it as a setup guide instead. Work in order, set a static address first, add one game at a time, test after each change, and keep a written list of every rule so you can remove a rule when you stop playing that game.

Start with a static address in the best port ranges for pc gaming

Port forwarding only works when the gaming device keeps the same local address, because a rule points at an address and fails if that address changes. Set a static address such as 192.168.1.150 for the PC, use a subnet mask of 255.255.255.0, and set the gateway to your router address, which is often 192.168.1.1 or 192.168.0.1.

Use a DHCP reservation in the router when that option is present, since it ties the address to the device hardware address and keeps the setup stable after a restart.

Match TCP and UDP to the game list

TCP suits downloads, login, and Remote Play, where order and delivery matter, while UDP suits live game traffic, where speed matters more than a lost packet. Read each game list for the protocol as well as the numbers, and enter TCP and UDP as separate rules when the lists differ.

Read the game list for the protocol as well as the numbers, and enter TCP and UDP as separate rules when the lists differ. If a game lists both protocols for the same port, use the both option when your router offers it, or enter the same port twice, once for each protocol. A wrong protocol is a common reason a port still looks closed after the rule is saved.

Open only what you play

Do not open the full range from 1 to 65535, and do not open a wide range just in case, because extra open ports add risk without helping any game. Start with one game, add only its listed ranges, test the result, and add a second game only when you play it often.

That advice appears in the guides as a clear warning, because a wide open range exposes the network and does not help a game that needs only a short list. Start with one game, add its listed ranges, test it, and then add a second game only if you play it often. Remove a rule when you stop playing the game, and review your rule list from time to time, so old rules do not stay open for games you no longer play.

Use UPnP and DMZ with care

Universal Plug and Play lets a device ask the router to open ports on its own, and it often works with no manual setup, but any program on the network can also use it. A DMZ host forwards all ports to one device, which can fix a stubborn connection but bypasses firewall protection for that device.

A DMZ host forwards all ports to one device, which can fix a stubborn connection, but it bypasses firewall protection for that device, and the guides advise against putting a PC in a DMZ. Try manual forwarding first, keep UPnP off when manual rules are in place to avoid conflicts, and use a DMZ only for a console as a last step after other options fail.

Test and fix common failures

Test a rule by launching the game and checking the network type or the ping on a nearby server, and use a port checker site to see whether the port reports as open. If the port still looks closed, check the static address and check that the rule is saved and enabled.

If the port still looks closed, check the static address, check that the rule is saved and enabled, and check the PC firewall, since a firewall can block traffic even when the router rule is correct. Power cycle the router by unplugging it for ten seconds, plugging it back in, and waiting two minutes, which clears the NAT table and forces the router to read the rules again. If nothing works, check for carrier grade network address translation with your provider, since that setup can stop forwarding from working at all.

FAQ

These questions cover the points that cause the most confusion, from whether forwarding lowers ping to why a strict network type stays strict after the rules are saved. Read the answer that matches your problem before you add more ports, since the fix is often the address or the protocol, not another range.

Does port forwarding reduce ping?

Port forwarding can reduce ping in an indirect way, by removing delays and dropped packets that come from the router blocking or rerouting game traffic. The guides note drops of 20 to 80ms in some cases, but distance to the server and routing still set the floor for ping.

It will not fix ping caused by distance to the server or by routing between your provider and the game server, and it will not fix packet loss on the wider internet.

Can ports be opened for gaming?

Opening specific ports for a specific game is safer than opening a wide range, because only the listed ports point at one device, and the rest of the network stays closed. Risk rises when you forward ports to a PC with untrusted software, when you leave the default router admin login unchanged, or when you open ports you do not use.

Change the router admin login, forward only the ports that a game lists, and remove rules you no longer need, so the setup stays as small as possible.

Why is my NAT type still strict after port forwarding?

A strict network type after forwarding often means the device address changed, a required port was missed, or the provider uses carrier grade network address translation. Check that the static address in the rule matches the device address exactly, check that every port for the platform is listed, and check that the rule is enabled.

If those checks pass, ask your provider whether you are behind carrier grade network address translation, since that setup means you do not have a public address that forwarding can use.

Do I need port forwarding if I only play as a guest?

Most online play as a guest does not need manual forwarding, because joining a server is outgoing traffic and automatic setup often handles it. Forwarding matters more when you host a server, when you need peer to peer connections, or when your network type stays strict and matchmaking fails.

Try playing without manual rules first, and add rules only when a specific game shows a network error or a strict type that blocks play.

Should I use a wired connection as well?

A wired Ethernet connection gives a more stable path than Wi-Fi for live play, and the guides link it to better results after forwarding is set up. Wi-Fi can add variation in ping and packet loss, even when the ports are correct, while a cable removes that variation from the local network.

Use a cable for the gaming PC when you can, keep the cable short and direct to the router, and test the game again after the change to see whether the connection feels more stable.

Conclusion

Use the range for the game you play most, match TCP and UDP exactly, point each rule at a static address, and keep the list short. Test after each change, remove rules you no longer use, and let the game list, not guesswork, decide which ports stay open on your network for play. Review the list often.

A
admin88
We compare specs, materials and verified owner reviews before a product earns a spot. Rankings are never paid.
Affiliate disclosure. As an Amazon Associate we earn from qualifying purchases at no extra cost to you. Prices accurate as of the date shown.