{"id":8975,"date":"2025-10-30T11:20:47","date_gmt":"2025-10-30T05:50:47","guid":{"rendered":"https:\/\/www.veeble.com\/kb\/?p=8975"},"modified":"2025-11-19T06:55:12","modified_gmt":"2025-11-19T01:25:12","slug":"how-to-set-up-a-minecraft-server-in-2025-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/www.veeble.com\/kb\/how-to-set-up-a-minecraft-server-in-2025-step-by-step-guide\/","title":{"rendered":"How to Set Up a Minecraft Server in 2025 (Step-by-Step Guide)"},"content":{"rendered":"\n<div class=\"wp-block-uagb-image uagb-block-eca82971 wp-block-uagb-image--layout-default wp-block-uagb-image--effect-static wp-block-uagb-image--align-none\"><figure class=\"wp-block-uagb-image__figure\"><a class=\"\" href=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/ce29053c-40dc-4da9-8d78-c474ce38bb00.jpg\" target=\"\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/ce29053c-40dc-4da9-8d78-c474ce38bb00-1024x1024.jpg\" alt=\"\" class=\"uag-image-8980\" width=\"1000\" height=\"563\" title=\"ce29053c-40dc-4da9-8d78-c474ce38bb00\" loading=\"lazy\" role=\"img\" \/><\/a><\/figure><\/div>\n\n\n\n<div style=\"height:38px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<h4 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h4>\n\n\n<p>Minecraft is a sandbox game that lets you build, explore, and survive in an endless 3D world made entirely of blocks. Originally released in 2009, it has become the best-selling video game of all time, loved by millions of players around the world.<\/p>\n\n\n\n<p>In this guide, you\u2019ll learn how to <strong>set up your own Minecraft server in 2025<\/strong> so you and your friends can play together in a custom world. We\u2019ll walk you through installing the necessary software, configuring the server, and getting your world online.<\/p>\n\n\n\n<p>Running your own Minecraft server gives you full control \u2014 from setting rules and installing mods to managing players and backups. Whether you want a small private server or a larger multiplayer community, this tutorial will cover everything you need to get started.<\/p>\n\n\n\n<p>For the best experience, consider hosting your Minecraft server on a <strong><a href=\"https:\/\/www.veeble.com\/kvm-vps\/\" target=\"_blank\" rel=\"noreferrer noopener\">Veeble KVM VPS<\/a><\/strong>. Our VPS plans are optimized for high performance, uptime, and easy scalability \u2014 ensuring your Minecraft world runs smoothly without lag or downtime.<\/p>\n\n\n\n<p class=\"has-light-green-cyan-background-color has-background\">This tutorial uses the <strong>Java Edition<\/strong> of Minecraft. If you purchased Minecraft through the <strong>Microsoft App Store<\/strong>, you won\u2019t be able to connect to this server. The same applies to most console editions, such as <strong>PlayStation 4, Xbox One,<\/strong> or <strong>Nintendo Switch<\/strong>, as these versions use the Microsoft (Bedrock) Edition, which is not compatible with Java servers. You can obtain the <strong>Minecraft: Java Edition<\/strong> from the official website <a href=\"https:\/\/www.minecraft.net\/en-us\/store\/minecraft-java-bedrock-edition-pc\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"prerequisites\">Prerequisites<\/h4>\n\n\n<ul class=\"wp-block-list\">\n<li><strong>A VPS or Dedicated Server:<\/strong> You\u2019ll need a server with at least <strong>2 GB of RAM<\/strong> and a <strong>dual-core CPU<\/strong> to run a basic Minecraft world. For smoother performance with multiple players or mods, <strong>4 GB RAM or more<\/strong> is recommended.<\/li>\n\n\n\n<li><strong>Operating System: <\/strong>This tutorial uses <strong>Ubuntu 22.04 LTS<\/strong> as the operating system. (You can also follow along on other Linux distributions, but commands may vary slightly.)<\/li>\n\n\n\n<li><strong>A Non-Root User with Sudo Privileges:<\/strong> It\u2019s best practice to run your server as a regular user with <code>sudo<\/code> access for security reasons. <a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/initial-server-setup-with-ubuntu-22-04\" target=\"_blank\" rel=\"noopener\">You can follow this guide to set up your server and complete the steps outlined.<\/a><\/li>\n<\/ul>\n\n\n<h4 class=\"wp-block-heading\" id=\"steps-to-build-your-own-minecraft-server\">Steps to Build Your Own Minecraft Server<\/h4>\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"#step-update\" data-type=\"internal\" data-id=\"#step-update\">Update Your Server and Configure the Firewall<\/a><\/li>\n\n\n\n<li><a href=\"#step-2-download-and-install-the-latest-minecraft-server\" data-type=\"internal\" data-id=\"#step-2-download-and-install-the-latest-minecraft-server\">Download and Install the Latest Minecraft Server<\/a><\/li>\n\n\n\n<li><a href=\"#step-3-configure-and-run-the-minecraft-server\" data-type=\"internal\" data-id=\"#step-3-configure-and-run-the-minecraft-server\">Configure and Run the Minecraft Server<\/a><\/li>\n\n\n\n<li><a href=\"#step-4-keep-your-minecraft-server-running-continuously\" data-type=\"internal\" data-id=\"#step-4-keep-your-minecraft-server-running-continuously\">Keep Your Minecraft Server Running Continuously<\/a><\/li>\n\n\n\n<li id=\"Game\"><a href=\"#step-5-connect-to-your-minecraft-server-using-the-game-client\" data-type=\"internal\" data-id=\"#step-5-connect-to-your-minecraft-server-using-the-game-client\">Connect to Your Minecraft Server Using the Game Client<\/a><\/li>\n<\/ol>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-update\">Step 1 &#8211; Update Your Server and Configure the Firewall<\/h4>\n\n\n<p>Now that your server is ready, the first step is to install the software needed to run Minecraft. The game is built on Java, so we\u2019ll start by setting that up.<\/p>\n\n\n\n<p>By default, <strong>Ubuntu 22.04 LTS<\/strong> doesn\u2019t include a recent enough version of Java to support the latest releases of Minecraft. To fix this, we\u2019ll add a trusted third-party repository (PPA \u2014 Personal Package Archive) that maintains newer Java builds for Ubuntu. Run the following command to add it:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-c29cd61d0763b4691c4efabd1aad8e68\"><code>sudo add-apt-repository ppa:openjdk-r\/ppa<\/code><\/pre>\n\n\n\n<p>Once the repository is added, update your package list to include the new source:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-47ff703652f17afe987edd033935363b\"><code>sudo apt update<\/code><\/pre>\n\n\n\n<p>When prompted, press <strong>Y<\/strong> to confirm. If you\u2019re asked to restart any services, simply press <strong>ENTER<\/strong> to proceed with the default options.<\/p>\n\n\n\n<p>Now, install <strong>OpenJDK 21 (headless)<\/strong> \u2014 this is a lightweight version of Java without graphical components, ideal for running Minecraft servers:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-6d2e886decec441ee9f91c22a66838a9\"><code>sudo apt install openjdk-21-jre-headless<\/code><\/pre>\n\n\n\n<p>Confirm version:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-3b0e003e307978c02ee91d58546c18da\"><code>java -version<\/code><\/pre>\n\n\n\n<p>Next, you\u2019ll need to install <strong>Screen<\/strong>, a utility that lets you run your Minecraft server in a detachable terminal session. This ensures the server continues running even if you close your SSH connection.<\/p>\n\n\n\n<p>Install Screen with:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-e8a8fc606268899bcfe79634988aeec3\"><code>sudo apt install screen<\/code><\/pre>\n\n\n\n<p>With Java and Screen installed, let\u2019s make sure your firewall is properly configured. Minecraft uses <strong>port 25565<\/strong> by default for player connections, so we\u2019ll open that port on the firewall:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-cc0ff09039e755d8f1fb28d2f73cfa15\"><code>sudo ufw allow 25565<\/code><\/pre>\n\n\n\n<p>This allows incoming Minecraft traffic while keeping your server secure.<\/p>\n\n\n\n<p>At this point, you have all the essential packages installed and your firewall configured correctly. You\u2019re now ready to move on to the next step \u2014 <strong>downloading the Minecraft server software<\/strong>.<\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-2-download-and-install-the-latest-minecraft-server\">Step 2 &#8211; Download and Install the Latest Minecraft Server<\/h4>\n\n\n<p>With Java and your firewall set up, the next step is to download the <strong>official Minecraft server file<\/strong>. This file contains everything needed to host and manage your own Minecraft world.<\/p>\n\n\n\n<p>Start by visiting the <strong><a href=\"https:\/\/www.minecraft.net\/en-us\/download\/server\" target=\"_blank\" rel=\"noreferrer noopener\">official Minecraft server download page<\/a><\/strong>. On that page, you\u2019ll see a link labeled <strong>\u201cDownload minecraft_server.&lt;version&gt;.jar\u201d<\/strong> \u2014 where <code>&lt;version&gt;<\/code> represents the latest release number.<\/p>\n\n\n\n<p>Copy the download link from that page, then return to your server terminal and use the following command to download it directly:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-18ba90ac1c0f5d1692275b8216ba0124\"><code>wget https:\/\/piston-data.mojang.com\/v1\/objects\/95495a7f485eedd84ce928cef5e223b757d2f764\/server.jar<\/code><\/pre>\n\n\n\n<p>Once the download is complete, the file will appear as <strong>server.jar<\/strong> in your current directory.<br>To make things more organized \u2014 especially if you plan to update or switch versions later \u2014 it\u2019s a good idea to rename the file to include the version number:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-b3a1ce4ba04b2d01059987679fdc65c8\"><code>mv server.jar minecraft_server_&lt;version&gt;.jar<\/code><\/pre>\n\n\n\n<p>For example, if you downloaded version <strong>1.21.1<\/strong>, your command would look like:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-505568f1b3e0636f9273e0fc02c4e5c4\"><code>mv server.jar minecraft_server_1.21.1.jar<\/code><\/pre>\n\n\n\n<p>If you prefer to run an earlier release of Minecraft, older versions are available from trusted archives such as <a href=\"https:\/\/mcversions.net\" target=\"_blank\" rel=\"noreferrer noopener\">mcversions.net<\/a>. However, this guide will continue using the <strong>latest stable version<\/strong> to ensure the best compatibility and performance.<\/p>\n\n\n\n<p>Now that the server file is ready, let\u2019s move on to the next step \u2014 <strong>setting up and launching your Minecraft server<\/strong>.<\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-3-configure-and-run-the-minecraft-server\">Step 3 &#8211; Configure and Run the Minecraft Server<\/h4>\n\n\n<p>Now that you\u2019ve downloaded the Minecraft server <code>.jar<\/code> file, it\u2019s time to configure and start your server for the first time.<\/p>\n\n\n\n<p><strong>1. Start a Detachable Screen Session<\/strong><br><br>It\u2019s best to run the Minecraft server inside a <strong>screen session<\/strong>, so it continues running even if you disconnect from your SSH session.<br>Start screen with:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-91bce693249dd2de757d7f49f2badda1\"><code>screen<\/code><\/pre>\n\n\n\n<p>After reading the banner, press <strong>Spacebar<\/strong> to proceed. You\u2019ll now be in a detachable terminal session, where you can safely start the server.<\/p>\n\n\n\n<p><strong>2. Run the Server for the First Time<\/strong><br><br>Now, initialize your Minecraft server:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-6d3273b0f284dbb51576c1c6a55e9239\"><code>java -Xms1024M -Xmx1024M -jar minecraft_server_1.18.2.jar nogui<\/code><\/pre>\n\n\n\n<p>You\u2019ll likely see an error \u2014 this is expected. Minecraft intentionally stops the first launch to make sure you agree to its <strong>End User License Agreement (EULA)<\/strong>.<\/p>\n\n\n\n<p>Before proceeding, let\u2019s quickly break down what this command does:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>-Xms1024M<\/code><\/strong> \u2014 Starts the server with 1GB of memory. You can increase this (e.g., <code>-Xms2G<\/code>) if your system allows.<\/li>\n\n\n\n<li><strong><code>-Xmx1024M<\/code><\/strong> \u2014 Sets the maximum RAM the server can use (also adjustable).<\/li>\n\n\n\n<li><strong><code>-jar<\/code><\/strong> \u2014 Specifies which <code>.jar<\/code> file to execute.<\/li>\n\n\n\n<li><strong><code>nogui<\/code><\/strong> \u2014 Runs the server without a graphical interface, ideal for headless setups.<\/li>\n<\/ul>\n\n\n\n<p>Your output will look something like:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-14282987c7eebbe460894493b5c7e340\"><code>&#091;main\/ERROR]: Failed to load properties from file: server.properties\n&#091;main\/WARN]: Failed to load eula.txt\n&#091;main\/INFO]: You need to agree to the EULA in order to run the server.<\/code><\/pre>\n\n\n\n<p>Minecraft has now created two new files \u2014 <code>eula.txt<\/code> and <code>server.properties<\/code> \u2014 in your current directory.<\/p>\n\n\n\n<p><strong>3. Accept the Minecraft EULA<\/strong><br><br>Open the EULA file in your favorite text editor. I am using &#8220;nano&#8221; here:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-ae52955e0d4ee62e75d89e84d22f51cd\"><code>nano eula.txt<\/code><\/pre>\n\n\n\n<p>You\u2019ll see a line like this:<\/p>\n\n\n\n<pre class=\"wp-block-code has-ast-global-color-5-color has-black-background-color has-text-color has-background has-link-color wp-elements-bdfa2b5ed34dae039764533faae89519\"><code>eula=false<\/code><\/pre>\n\n\n\n<p>Read the EULA at the link provided in the file, then change the value to:<\/p>\n\n\n\n<pre class=\"wp-block-code has-ast-global-color-5-color has-black-background-color has-text-color has-background has-link-color wp-elements-b126e5987457bd7b4f88a088b8dcd901\"><code>eula=true<\/code><\/pre>\n\n\n\n<p>Save and exit (<code>Ctrl + X<\/code>, then <code>Y<\/code>, then <code>Enter<\/code>).<\/p>\n\n\n\n<p><strong>4. Configure Your Server Settings<\/strong><br><br>Next, open the main configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-b12cecdeae1858095a40d08161ff7287\"><code>nano server.properties<\/code><\/pre>\n\n\n\n<p>This file contains all the settings that define your world, gameplay, and server behavior.<\/p>\n\n\n\n<p>Here are a few key options to customize:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Property<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><strong>difficulty<\/strong><\/td><td>Sets how challenging the world is (peaceful, easy, normal, hard).<\/td><\/tr><tr><td><strong>gamemode<\/strong><\/td><td>Defines the play style (survival, creative, adventure, spectator).<\/td><\/tr><tr><td><strong>level-name<\/strong><\/td><td>The internal name for your world.<\/td><\/tr><tr><td><strong>motd<\/strong><\/td><td>Message shown in the multiplayer server list.<\/td><\/tr><tr><td><strong>pvp<\/strong><\/td><td>Enables or disables player-vs-player combat (true or false).<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Adjust the settings to your preference, then save and close the file.<\/p>\n\n\n\n<p><strong>5. Start the Server Again<\/strong><br><br>Now that you\u2019ve accepted the EULA and configured your settings, you can fully start the Minecraft server:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-a78c08bddb2d7fc9f09a250476c7c638\"><code>java -Xms1024M -Xmx4G -jar minecraft_server_1.18.2.jar nogui<\/code><\/pre>\n\n\n\n<p>\ud83d\udca1 Adjust <code>-Xmx4G<\/code> if you want to allocate more or less RAM based on your system resources.<\/p>\n\n\n\n<p>After a few moments, you\u2019ll see output like:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-a48a1cee3176afd101e647edf979d54f\"><code>&#091;Server thread\/INFO]: Starting minecraft server version 1.18.2\n&#091;Server thread\/INFO]: Done (30.762s)! For help, type \"help\"<\/code><\/pre>\n\n\n\n<div class=\"wp-block-uagb-image uagb-block-a08346b8 wp-block-uagb-image--layout-default wp-block-uagb-image--effect-static wp-block-uagb-image--align-none\"><figure class=\"wp-block-uagb-image__figure\"><a class=\"\" href=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-143702.png\" target=\"\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-143702-1024x417.png\" alt=\"\" class=\"uag-image-8991\" width=\"1708\" height=\"695\" title=\"Screenshot 2025-10-28 143702\" loading=\"lazy\" role=\"img\" \/><\/a><\/figure><\/div>\n\n\n\n<div style=\"height:35px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>6. Verify the Server is Running<\/strong><br><br>Once you see the <strong>\u201cDone\u201d<\/strong> message, your server is up and running.<br>You can run administrative commands directly in the terminal, such as:<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-text-color has-background has-link-color wp-elements-1822841269acfcd5fb2d2399c9ee4346\" style=\"color:#fcfa00\"><code>help<\/code><\/pre>\n\n\n\n<p>Example output:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-8ab3eab453bff3af61aa052bcb980894\"><code>\/ban &lt;player&gt;\n\/op &lt;player&gt;\n\/save-all<\/code><\/pre>\n\n\n\n<p>From here, your Minecraft server is officially live. Next, you\u2019ll learn how to <strong>keep it running in the background<\/strong> even after you disconnect.<\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-4-keep-your-minecraft-server-running-continuously\">Step 4 &#8211; Keep Your Minecraft Server Running Continuously<\/h4>\n\n\n<p>Once your Minecraft server is up and running, you\u2019ll likely want it to stay online even after you close your SSH session or disconnect from the terminal.<br>You can easily do this using the <strong>screen<\/strong> utility you started earlier.<\/p>\n\n\n\n<p><strong>1. Detach from the Screen Session<\/strong><br><br>To leave the server running while you exit the terminal, <strong>detach<\/strong> from your current screen session using:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-d5cc6463c510b73e681a8262f1381fb5\"><code>Ctrl + A + D<\/code><\/pre>\n\n\n\n<p>You\u2019ll see a message confirming that the session has been detached:<\/p>\n\n\n\n<pre class=\"wp-block-code has-ast-global-color-6-color has-ast-global-color-2-background-color has-text-color has-background has-link-color wp-elements-76c8da2c8082c150a355746acb9c1c9c\"><code>&#091;detached from 3626.pts-0.minecraft]<\/code><\/pre>\n\n\n\n<p>This means your Minecraft server continues running in the background, even though you\u2019ve returned to your main shell.<\/p>\n\n\n\n<p><strong>2. Check Active Screen Sessions<\/strong><br><br>To view all active screen sessions (in case you have more than one), run:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-5fc5578274d6646b58e82675d82e73d8\"><code>screen -ls<\/code><\/pre>\n\n\n\n<p>You\u2019ll get an output similar to:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-d63c09737a50f1c7d00286f3e27fd06a\">There is a screen on:<br>    3626.pts-0.minecraft\t(Detached)<br>1 Socket in \/run\/screen\/S-ubuntu.<\/pre>\n\n\n\n<p>Each screen session has a unique ID like <code>3626.pts-0.minecraft<\/code> in this example.<\/p>\n\n\n\n<p><strong>3. Reconnect to Your Minecraft Server Console<\/strong><br><br>If you want to check on your running server or issue commands later, you can <strong>reopen<\/strong> the screen session:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-75095e6b10f85cdcfc0eceeca0b401a1\"><code>screen -r 3626<\/code><\/pre>\n\n\n\n<p>Once reattached, you\u2019ll be back at the Minecraft console \u2014 where you can run commands like <code>save-all<\/code>, <code>stop<\/code>, or monitor player activity.<\/p>\n\n\n\n<p><strong>4. Safely Detach and Log Out<\/strong><br><br>When you\u2019re finished, detach again with:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-d5cc6463c510b73e681a8262f1381fb5\"><code>Ctrl + A + D<\/code><\/pre>\n\n\n\n<p>Then you can safely close your SSH session without stopping the Minecraft server.<\/p>\n\n\n\n<p>\u2705 <strong>Pro Tip:<\/strong><br>If you ever forget which screen your server is running in or it becomes unresponsive, you can use:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-a5dd60f8aa84bc37f160f8ecc85d0960\"><code>screen -wipe<\/code><\/pre>\n\n\n\n<p>to clean up any old or dead sessions before starting a new one.<\/p>\n\n\n\n<p>Now that your Minecraft server runs independently in the background, the next step is to <strong>connect from your Minecraft game client<\/strong> and start playing in your new world.<\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-5-connect-to-your-minecraft-server-using-the-game-client\">Step 5 &#8211; Connect to Your Minecraft Server Using the Game Client<\/h4>\n\n\n<p>With your Minecraft server live and running, it\u2019s time to join the fun from your own game client.<\/p>\n\n\n\n<p>Start by launching <strong>Minecraft: Java Edition<\/strong> on your computer. From the main menu, click <strong>\u201cMultiplayer\u201d<\/strong> \u2014 this will open the list of available servers.<\/p>\n\n\n\n<p>Next, click <strong>\u201cAdd Server\u201d<\/strong> or <strong>\u201cDirect Connect\u201d<\/strong> to join your server. In the box that appears, enter your server\u2019s <strong>public IP address<\/strong> followed by the <strong>port number (default: 25565)<\/strong> \u2014 the same details you use to access your VPS via SSH.<\/p>\n\n\n\n<div class=\"wp-block-uagb-image uagb-block-640ff62f wp-block-uagb-image--layout-default wp-block-uagb-image--effect-static wp-block-uagb-image--align-none\"><figure class=\"wp-block-uagb-image__figure\"><a class=\"\" href=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-29-175323.jpg\" target=\"\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-29-175323-1024x575.jpg\" alt=\"\" class=\"uag-image-8992\" width=\"1365\" height=\"767\" title=\"Screenshot 2025-10-29 175323\" loading=\"lazy\" role=\"img\" \/><\/a><\/figure><\/div>\n\n\n\n<div style=\"height:35px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Click <strong>Join Server<\/strong> to connect.<\/p>\n\n\n\n<div class=\"wp-block-uagb-image uagb-block-a4650447 wp-block-uagb-image--layout-default wp-block-uagb-image--effect-static wp-block-uagb-image--align-none\"><figure class=\"wp-block-uagb-image__figure\"><a class=\"\" href=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-29-175455.jpg\" target=\"\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-29-175455.jpg\" alt=\"\" class=\"uag-image-8993\" width=\"920\" height=\"526\" title=\"Screenshot 2025-10-29 175455\" loading=\"lazy\" role=\"img\" \/><\/a><\/figure><\/div>\n\n\n\n<div style=\"height:35px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Congratulations, you have successfully created your own Minecraft server. You are now ready to play!<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Minecraft is a sandbox game that lets you build, explore, and survive in an endless 3D world made entirely of blocks. Originally released [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":8980,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[5,3],"tags":[53,52,51],"class_list":["post-8975","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-installation","tag-how-to-create-a-game-server","tag-how-to-create-a-minecraft-server","tag-minecraft-server-setup"],"uagb_featured_image_src":{"full":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/ce29053c-40dc-4da9-8d78-c474ce38bb00.jpg",1200,1200,false],"thumbnail":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/ce29053c-40dc-4da9-8d78-c474ce38bb00-150x150.jpg",150,150,true],"medium":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/ce29053c-40dc-4da9-8d78-c474ce38bb00-300x300.jpg",300,300,true],"medium_large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/ce29053c-40dc-4da9-8d78-c474ce38bb00-768x768.jpg",768,768,true],"large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/ce29053c-40dc-4da9-8d78-c474ce38bb00-1024x1024.jpg",1024,1024,true],"1536x1536":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/ce29053c-40dc-4da9-8d78-c474ce38bb00.jpg",1200,1200,false],"2048x2048":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/10\/ce29053c-40dc-4da9-8d78-c474ce38bb00.jpg",1200,1200,false]},"uagb_author_info":{"display_name":"Nasarul Naseer","author_link":"https:\/\/www.veeble.com\/kb\/author\/nasarulnaseer\/"},"uagb_comment_info":0,"uagb_excerpt":"Introduction Minecraft is a sandbox game that lets you build, explore, and survive in an endless 3D world made entirely of blocks. Originally released [&hellip;]","_links":{"self":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/8975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/comments?post=8975"}],"version-history":[{"count":18,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/8975\/revisions"}],"predecessor-version":[{"id":9008,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/8975\/revisions\/9008"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media\/8980"}],"wp:attachment":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media?parent=8975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/categories?post=8975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/tags?post=8975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}