Disclaimer: This is not a 24 hour server. If you're looking to start a 24/7 Minecraft 1.18+ server, be sure to check out our server affiliate ApexMinecraftHosting by going to https://TheBreakdown.xyz/Apex. For a few bucks a month, you can get a 24/7 DDOS-Protected server to play Minecraft with all of your friends and anyone else. 

24/7 DDOS-Protected Minecraft Server for $4/month
If you're looking to start a Minecraft 1.18 server to play with your friends, this is the easiest way to get it setup. This process will require you to give other players your IP address, so be sure to only give this to people you trust like close friends. Nevertheless, let's go ahead and break down how to make a Minecraft 1.18 server so you can play Minecraft with friends!

How to Make a Minecraft 1.18 Server

Step 1: Download Minecraft Server File

Download Button For Minecraft For PC
Click here to download Minecraft for PC & the Minecraft server file.

The first step in starting your Minecraft 1.18 Server is to download the server file for your computer. Click here or the button above to be taken to the official Minecraft Server file download. From there, find the section saying “Play with Your Friends,” and click on “Setup Your Own Minecraft Server.”

This will take you to a page to download the Minecraft: Java Edition Server. From there, you'll want to click on the text that says Download “minecraft_server.1.18.jar” to start the server file download. Once the download is complete, you'll need to locate the download, which is normally on the desktop or in the Downloads folder. For simplicity, be sure to drag the file onto your desktop to follow this tutorial on creating a Minecraft 1.18 server.

Step 2: Create Your Server Folder

Right click on your desktop and create a new folder called Minecraft 1.18 Server, and from there, drag the .Jar file you downloaded into this folder.

Once the Server file is in the folder you've created, run the application by double-clicking on the icon. If the application does not run after you double click on it, you may need to right-click on it and select “Open With -> Java(TM) Platform SE binary.”

NOTE: If you do not have the Java SDK installed on your computer, you will need to download it before moving forward. To do so, click here.

Step 3: Accept the End User License Agreement

Once you've double-clicked to open the Server, new files should appear in your folder called “logs,” “eula,” and a text document called “server.”

Open the EULA document and copy the link in the document. Paste this link in your browser to read through the End User License Agreement to ensure that your server does not and will not violate the terms and conditions.

Once you had read through the license agreement, go back to your text document and scroll down to the last line of text that reads: “eula=false.”

From that point, you will need to ensure that you change this to read:


Be sure to save this document before continuing. By not saving, the rest of the process will not work correctly. 

Step 4: Running the Server

Now it's time to open the server file. To do this, simply double click on the Server Java file that we placed in the folder earlier. When we open it, a new Minecraft Server dialog box will appear.

From this point, you have the basic server setup, but if you want to play with friends or anyone who is not on your network, you'll need to keep going. If you're simply trying to play a world with people on your network at your house, all they'll need to do is go to Multiplayer in Minecraft and type “localhost” as the server address.

Once you see the dialog box in the server application say “Done,” go ahead and type “stop” in the text box and press ENTER on your keyboard. This will stop the server from running in the background and using any additional resources for the time being.

This will create more documents in your Minecraft 1.18 Server folder.

Step 5: Command Prompt & IP Configuration

Click on your desktop background to make sure that no application or window is currently in use. From there, hit the Windows key on your keyboard and “R” at the same time. This will open the RUN dialog box.

In the text box, type “cmd” to open Command Prompt and press ENTER.

Once you're in the Command Prompt, type “ipconfig” to open up your IP settings.

If this does not work for you, open your Windows taskbar and type “cmd” again. From there, right click on Command Prompt and select “Run As Administrator.”

This should open a new CMD window for you to type the code “ipconfig” as we did above.

Once the information shows up in Command Prompt, we're going to be looking for two specific numbers – the IPV4 and the Default Gateway.

Go ahead and make a note of your Default Gateway, as we'll be working with that first. In my case, the number was

Next up, go ahead and open your browser and place this number into your address bar. This is going to prompt you to log into your Wi-Fi system or router backend.

If you've never setup your router backend through the default gateway like this, it's likely that a password and username was never changed. To work around this, you can use the default login information provided by your router's manufacturer. This WILL ONLY work if the router information has never been changed.

Here's how to find your router's password.

Step 6: Port Forwarding – Configure Your Router

NOTE: If you get lost in this step with setting up the Port Forward, please refer to our article on setting up a new Port Forward by clicking here

Once you have successfully logged into your router, you'll be looking for something along the lines of “Port Forwarding,” “Apps & Gaming,” “Security,” etc. This could be placed in a Security section, Advanced, a Port Forward section, or an Apps & Gaming section. Unfortunately this differs for every router, so be sure to look through all fo the settings until you find where you can add a port forward.

From there, add a new Port Forward, and for the name, we'll call it “Minecraft.”

For the External Port, put “25565,” and for the Internal Port add the numbers “25565” as well.

Note: The names of the ports may or may not be called External and Internal. Either way, place the numbers in the open boxes for port numbers. 

For Protocol, select the option that allows you to use both TCP and UDP. Most routers will have an option for “Both” or “TCP/UDP.” If, however, your router does not allow you to do that, simply select one and then create another port forward with the same settings for the other.

Now it's time to get the IPV4 Address that we found earlier in Command Prompt. From there, make sure that the IPV4 Address is entered into your Port Forward settings. Normally the first few numbers are already placed there, so you can simply finish the rest of the sequence. If the numbers are not already there, place the entire IPV4 Address in the box.

From there, save the settings you've changed. You must save these settings in order for the server to be accessible by other people with the IP address. Be sure to “Apply” the settings after saving if required.

Step 7: Server Properties

Next up, we'll head back over to our Minecraft 1.18 Server folder and open the “Server Properties” text document. This will open up a document in Notepad called “server.”

Scroll to where you find “server-ip=” and go back to your Command Prompt window we opened earlier with the IPCONFIG.

Place your IPV4 Address after the “=” sign in the text document. For me, it reads:


Save and close your document once you've placed the server IP.

Step 8: Launch The Server

Go ahead and open up the Server Java file that we opened before. Once the dialog box says “Done,” we can go ahead and make our player an OP or admin. To do that, type “OP YOUR USERNAME” and Press ENTER. For example, I would type “op nicsgames” top make myself an Admin.

Now that your server is setup and running, it's time to go test it!

Step 9: Testing Your Server

Launch the Minecraft app and go into your Multiplayer section. Be sure that you are running Minecraft 1.18 in order to play on a Minecraft 1.18 Server.

NOTE: If you get a Windows Security Alert, you will need to Allow Access for the server to work. 

Go ahead and connect to your server using the “Direct Connect” feature when joining a server. This is where we will test the server locally with our IPV4 Address. Note that only YOU can join using the IPV4 Address. Other players will have to join with the public IP address we'll get to later.

Paste in your IPV4 Address to the Server Address box and press “Join Server” to join.

If you're successfully able to join the server with your IPV4 Address, you're almost done! If you were not able to connect, you'll need to go back and make sure that you have completed every step and saved all options we changed. Most issues come from a missed number or forgetting to save and apply settings.

Step 10: Playing With Friends

One of the best parts of starting a server is that you can play with your friends around the world, but be sure to NEVER give out your IP address to anyone you do not trust or know. This can result in DDOS Attacks and other network-related issues.

Now, though, let's find our IP address. Go to Google.com and type in “ip” to find your IP address. Your public IP address should show up at the top of Google.

Copy that IP address and go back to Minecraft. Now go back to Multiplayer and select “Direct Connect” to be able to paste your IP address there.

If this address works, your server is successfully created! Congrats! You now have a Minecraft server setup!


  1. GET ME MINECRAFT 1.17 NOW!!!!

  2. damian poole

    I have a problem with lag..

    The server was made on my daughters Computer, when she plays on there alone there are no lag problems, but when ever I join the server it lags!! i.e. block lag.

    Some notes worth mentioning. Both computers are in the same home and connected to the internet via cable with a high broadband speed of 100MB

    Both are fresh Java installations using version 1.15.2

    When I connect (Mr_Breaker_) the server says “cant keep up! Is the server overloaded

    So far I’ve tried allocating more ram to mine craft, but till no joy!

    any pointers to solve with issuer is most welcome

  3. Hugh O'Kane

    Will this still work if I have a VPN enabled?

    • VPNs can cause issues, and your server with one on most likely won’t work because the port forward won’t go through the VPN.

  4. what do i do if when my friends try to join my server it says-io.netty.channel.abstractchannel$annotatedconnectexception connection refused

  5. Is it possible to download a server on Minecraft 1.14? If so how?

    • I wouldn’t recommend running a 1.14 server. They have horrible performance and are super laggy. Update to 1.15.2.

  6. Stephen Carter

    when i hit server.jar to do the setup, it takes forever. Is it usually so long??

  7. Hi! I’ve downloaded server.jar and SE binary but when i double click my laptop tells me
    “Unable to install Java
    There are errors in the following switches:
    “C:\Users\amber\OneDrive\Desktop\Minecraft Server Stuffs\server.jar”;.
    Check that the commands are valid and try again”

    What do I do???

  8. I have no firewalls on, yet I still cannot connect with the second IP.

  9. i got the server running but my friends cant connect i turned the router firewall of when they were connecting but they could not connect.

  10. My server download is set to open with Internet explorer and I can’t get it to open with java. Anyone know what to do?

  11. how do i replace the server.jar file

  12. Hey Man, just wanted to say this is by far one of the easiest tutorials I have been able to follow! didn’t have any troubles whatsoever and was enjoyable to learn in the process.

  13. Teodor Pirnat

    I recently created a server for me and 2 of my friends but the server likes to lag quite a decent amount, how do i fix. I have 8 gigabites of ram on my computer if it helps

  14. Teodor Pirnat

    I recently created a server for me and 2 of my friends but the server likes to lag quite a decent amount, how do i fix that?

    Note: i have 8 gigabites of ram on my computer if it helps

  15. The instructions how to set up a server is spot on. Everything works great. I attempted to host a server on another computer on my home network. I changed the Device IP for the host computer in the single port forwarding, but in the test for outside access did not work. I temporarily turned off the firewall, but this did not change my results. The router was originally installed and setup on my first computer and not the one I am trying to host on.

  16. I cant open ‘serve’r with jdk. When I click open with jdk its asks if I want to install it but I already have. So I pressed yes anyway then it said it has already been installed. It just keeps saying that, what do I do?

  17. for post forwarding configuration, i am required to put in two numbers for each input and output, and when i put, as it is said to do, 25565 as the number in the four boxes, i think it might be the cause of an invalid setup error such as: “Error: Cannot perform the operation. Check whether the input parameters are correct.”

  18. my second ip wont work. i can get on it myself, but if i try the ip i have to search with the link on the video it doesnt work. help?

  19. i try my public ip and it says the net.channel.Abstract thing and it can’t connect, but i am able to do it from my first ip I put in. what would that be?

  20. how do I update the server?

  21. what do i do if the public ip doesnt work

  22. no entry the server

Leave a Comment

Your email address will not be published. Required fields are marked *