{"id":884,"date":"2026-08-16T23:23:41","date_gmt":"2026-08-16T23:23:41","guid":{"rendered":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/?p=884"},"modified":"2026-08-23T22:03:44","modified_gmt":"2026-08-23T22:03:44","slug":"game-server-ports-tcp-udp-firewall-rules","status":"publish","type":"post","link":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/","title":{"rendered":"Game Server Ports: Complete TCP\/UDP Port Reference for Minecraft, ARK, Palworld, Rust, and More"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Your game server can have the fastest CPU and the most RAM on the market \u2014 if the wrong ports are blocked, players simply cannot connect. Port misconfiguration is one of the most common support tickets in game hosting, and it is also one of the easiest to fix. This guide covers the default ports for the most popular dedicated game servers, the difference between TCP and UDP, and the firewall rules that actually matter.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TCP vs. UDP: Why Game Servers Use Both<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Game traffic splits into two protocols with very different jobs:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>UDP (User Datagram Protocol)<\/strong> carries the real-time gameplay stream \u2014 player positions, projectiles, world state. It is fast and connectionless, which is exactly what a 60-tick server needs. Losing a packet means a brief interpolation blip, not a resend.<\/li>\n<li><strong>TCP (Transmission Control Protocol)<\/strong> handles the reliable stuff: handshakes, queries, RCON administration, and file downloads. If a TCP packet drops, it is retransmitted \u2014 perfect for commands, not for movement.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This is why &#8220;open the game port&#8221; is never a complete answer. Most games need at least one UDP port for gameplay and one TCP port for queries or admin. Forwarding only the UDP port lets players join but often breaks the server browser listing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Default Ports by Game<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the defaults for the most commonly hosted titles on dedicated servers. All of these are configurable in the server settings, but the defaults are what most guides, hosts, and player instructions assume.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Game<\/th><th>Gameplay Port<\/th><th>Protocol<\/th><th>Query \/ Admin Port<\/th><th>RCON Port<\/th><\/tr><\/thead><tbody>\n<tr><td>Minecraft (Java)<\/td><td>25565<\/td><td>TCP<\/td><td>\u2014 (same port)<\/td><td>25575 (TCP)<\/td><\/tr>\n<tr><td>Minecraft (Bedrock)<\/td><td>19132<\/td><td>UDP<\/td><td>19133 (IPv6, UDP)<\/td><td>\u2014<\/td><\/tr>\n<tr><td>ARK: Survival Ascended<\/td><td>7777<\/td><td>UDP<\/td><td>27015 (Steam, UDP)<\/td><td>\u2014<\/td><\/tr>\n<tr><td>Palworld<\/td><td>8211<\/td><td>UDP<\/td><td>27015 (Steam, UDP)<\/td><td>25575 (TCP)<\/td><\/tr>\n<tr><td>Rust<\/td><td>28015<\/td><td>UDP<\/td><td>28016 (RCON, TCP)<\/td><td>28016 (TCP)<\/td><\/tr>\n<tr><td>CS2 \/ Source Engine<\/td><td>27015<\/td><td>UDP<\/td><td>27015 (TCP also enabled)<\/td><td>\u2014<\/td><\/tr>\n<tr><td>Valheim<\/td><td>2456\u20132458<\/td><td>UDP<\/td><td>2457 (Steam query)<\/td><td>\u2014<\/td><\/tr>\n<tr><td>Terraria<\/td><td>7777<\/td><td>TCP<\/td><td>\u2014<\/td><td>\u2014<\/td><\/tr>\n<tr><td>Factorio<\/td><td>34197<\/td><td>UDP<\/td><td>27015 (optional)<\/td><td>\u2014<\/td><\/tr>\n<tr><td>7 Days to Die<\/td><td>26900<\/td><td>UDP<\/td><td>26900 (TCP for telnet)<\/td><td>\u2014<\/td><\/tr>\n<tr><td>V Rising<\/td><td>9876<\/td><td>UDP<\/td><td>9877 (TCP)<\/td><td>\u2014<\/td><\/tr>\n<tr><td>Enshrouded<\/td><td>15637<\/td><td>UDP<\/td><td>15637 (TCP)<\/td><td>\u2014<\/td><\/tr>\n<tr><td>Satisfactory<\/td><td>7777<\/td><td>UDP<\/td><td>15000 (beacon, UDP)<\/td><td>\u2014<\/td><\/tr>\n<tr><td>Project Zomboid<\/td><td>16261<\/td><td>UDP<\/td><td>16262 (UDP)<\/td><td>\u2014<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Three rules apply across every title: open the gameplay port on both TCP and UDP when unsure (extra TCP costs nothing and prevents query failures), open the Steam query port so the server appears in the community browser, and keep RCON ports restricted to your admin IP range.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Opening Ports on Linux Firewalls<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Most dedicated servers run Linux with UFW or firewalld. For a Palworld server, the minimal rule set looks like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ufw allow 8211\/udp           # gameplay traffic\nufw allow 27015\/udp           # Steam query\nufw allow 25565\/tcp           # RCON (restrict to admin IP)\nufw reload<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For a Minecraft Java server the equivalent is simply <code>ufw allow 25565\/tcp<\/code>. On firewalld, use <code>firewall-cmd --permanent --add-port=8211\/udp<\/code> followed by <code>firewall-cmd --reload<\/code>. Always confirm the change with <code>ss -ulpn<\/code> or <code>netstat -ulpn<\/code> \u2014 the server should be listening on the correct address before you blame the firewall.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Port Forwarding: Home vs. Datacenter<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you self-host from home, the router is another firewall: forward the ports in the router&#8217;s NAT settings to the server&#8217;s internal IP, and make sure the internal IP is static. Datacenter servers skip NAT entirely \u2014 the provider assigns a public IP directly \u2014 but the host&#8217;s own firewall (and often the control panel&#8217;s security group) still needs the same rules. When you rent from a provider, check whether the panel has a default &#8220;game server&#8221; profile; most do, and it usually opens the right set automatically.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Security: Never Expose Admin Ports to the Internet<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ports are a two-way street: every open port is an attack surface. The three most abused game-server ports are RCON (28016 on Rust, 25575 on Minecraft), telnet, and SSH. Best practice is to bind admin services to a private interface or restrict them with <code>ufw allow from YOUR_IP<\/code>. Public game servers are also prime DDoS targets, so pair port configuration with always-on DDoS filtering \u2014 the game port is the one that gets flooded. If you are planning a new server and want to compare hardware options side by side, <a href=\"https:\/\/bestdedicatedwebhostingserver.com\/#providers\">compare plans on our homepage<\/a> before committing to a provider.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting: When Players Still Cannot Connect<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Test locally first:<\/strong> A local client connect proves the server itself works before you touch the firewall.<\/li>\n<li><strong>Check listening state:<\/strong> <code>ss -tulpn<\/code> shows whether the process bound to 0.0.0.0 or only 127.0.0.1 \u2014 a loopback bind blocks all external traffic.<\/li>\n<li><strong>Verify the firewall actually loaded:<\/strong> <code>ufw status verbose<\/code> shows active rules; a bare-metal provider&#8217;s DDoS filter or security group can silently drop traffic too.<\/li>\n<li><strong>Use an external port checker:<\/strong> A remote scan from a phone on cellular data confirms whether the port is reachable from outside.<\/li>\n<li><strong>Check the Steam query port separately:<\/strong> Gameplay can work while the server still shows offline in the browser.<\/li>\n<li><strong>Check for port conflicts:<\/strong> If you run multiple game servers on the same IP, each needs a unique port combination.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Getting ports right is a 10-minute task that prevents weeks of &#8220;why can&#8217;t my friends join&#8221; threads. Match the port to the game, open both protocols when in doubt, restrict admin ports, and verify with an external check. For the hardware side of the equation \u2014 how much CPU and RAM your player count needs \u2014 <a href=\"https:\/\/bestdedicatedwebhostingserver.com\/#providers\">see the full details on our dedicated server page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your game server can have the fastest CPU and the most RAM on the market \u2014 if the wrong ports are blocked, players simply cannot connect. Port misconfiguration is one&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":1,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-884","post","type-post","status-publish","format-standard","hentry","category-server-guides-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Game Server Ports: Complete TCP\/UDP Port Reference for Minecraft, ARK, Palworld, Rust, and More - Best Dedicated Web Hosting Server Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Game Server Ports: Complete TCP\/UDP Port Reference for Minecraft, ARK, Palworld, Rust, and More\" \/>\n<meta property=\"og:description\" content=\"Game Server Ports: Complete TCP\/UDP Port Reference for Minecraft, ARK, Palworld, Rust, and More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/\" \/>\n<meta property=\"og:site_name\" content=\"Best Dedicated Web Hosting Server Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-16T23:23:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-23T22:03:44+00:00\" \/>\n<meta name=\"author\" content=\"bestdedicatedwebhostingserver\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bestdedicatedwebhostingserver\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"bestdedicatedwebhostingserver\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/\",\"url\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/\",\"name\":\"Game Server Ports: Complete TCP\/UDP Port Reference for Minecraft, ARK, Palworld, Rust, and More - Best Dedicated Web Hosting Server Blog\",\"isPartOf\":{\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#website\"},\"datePublished\":\"2026-08-16T23:23:41+00:00\",\"dateModified\":\"2026-08-23T22:03:44+00:00\",\"author\":{\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#\/schema\/person\/6eb5f9ea35033fe8e67df44397e089b1\"},\"breadcrumb\":{\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Game Server Ports: Complete TCP\/UDP Port Reference for Minecraft, ARK, Palworld, Rust, and More\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#website\",\"url\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/\",\"name\":\"Best Dedicated Web Hosting Server Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#\/schema\/person\/6eb5f9ea35033fe8e67df44397e089b1\",\"name\":\"bestdedicatedwebhostingserver\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/462a07aa37399bdb149e5f91dc3cd8906656bc4c7ed391a3b6f0199c5d2ab964?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/462a07aa37399bdb149e5f91dc3cd8906656bc4c7ed391a3b6f0199c5d2ab964?s=96&d=mm&r=g\",\"caption\":\"bestdedicatedwebhostingserver\"},\"sameAs\":[\"https:\/\/bestdedicatedwebhostingserver.com\/blog\",\"https:\/\/x.com\/bestdedicatedwebhostingserver\"],\"url\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/author\/bestdedicatedwebhostingserver\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Game Server Ports: Complete TCP\/UDP Port Reference for Minecraft, ARK, Palworld, Rust, and More - Best Dedicated Web Hosting Server Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/","og_locale":"en_US","og_type":"article","og_title":"Game Server Ports: Complete TCP\/UDP Port Reference for Minecraft, ARK, Palworld, Rust, and More","og_description":"Game Server Ports: Complete TCP\/UDP Port Reference for Minecraft, ARK, Palworld, Rust, and More","og_url":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/","og_site_name":"Best Dedicated Web Hosting Server Blog","article_published_time":"2026-08-16T23:23:41+00:00","article_modified_time":"2026-08-23T22:03:44+00:00","author":"bestdedicatedwebhostingserver","twitter_card":"summary_large_image","twitter_creator":"@bestdedicatedwebhostingserver","twitter_misc":{"Written by":"bestdedicatedwebhostingserver","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/","url":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/","name":"Game Server Ports: Complete TCP\/UDP Port Reference for Minecraft, ARK, Palworld, Rust, and More - Best Dedicated Web Hosting Server Blog","isPartOf":{"@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#website"},"datePublished":"2026-08-16T23:23:41+00:00","dateModified":"2026-08-23T22:03:44+00:00","author":{"@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#\/schema\/person\/6eb5f9ea35033fe8e67df44397e089b1"},"breadcrumb":{"@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/game-server-ports-tcp-udp-firewall-rules\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Game Server Ports: Complete TCP\/UDP Port Reference for Minecraft, ARK, Palworld, Rust, and More"}]},{"@type":"WebSite","@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#website","url":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/","name":"Best Dedicated Web Hosting Server Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#\/schema\/person\/6eb5f9ea35033fe8e67df44397e089b1","name":"bestdedicatedwebhostingserver","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/462a07aa37399bdb149e5f91dc3cd8906656bc4c7ed391a3b6f0199c5d2ab964?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/462a07aa37399bdb149e5f91dc3cd8906656bc4c7ed391a3b6f0199c5d2ab964?s=96&d=mm&r=g","caption":"bestdedicatedwebhostingserver"},"sameAs":["https:\/\/bestdedicatedwebhostingserver.com\/blog","https:\/\/x.com\/bestdedicatedwebhostingserver"],"url":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/author\/bestdedicatedwebhostingserver\/"}]}},"_links":{"self":[{"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/posts\/884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/comments?post=884"}],"version-history":[{"count":3,"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/posts\/884\/revisions"}],"predecessor-version":[{"id":942,"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/posts\/884\/revisions\/942"}],"wp:attachment":[{"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/media?parent=884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/categories?post=884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/tags?post=884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}