PDF download Download Article
Create a Minecraft server for your friends with no port forwarding
PDF download Download Article

When you create a Minecraft server on your PC, you generally need to enable port forwarding on your router in order to allow your friends to join. This can be risky, as it exposes your IP address to the public. If you want to create a server and allow friends to join without port-forwarding, you can easily do so using a free program called Hamachi. This wikiHow article teaches you how to set up a Minecraft: Java Edition server and allow your friends to join via Hamachi.

How to Create a Minecraft Hamachi Server

  1. Download and install Hamachi and Minecraft to your computer.
  2. Create a folder and place the Minecraft server file in it.
  3. Open the server file, and agree to the terms of use to unpack the file.
  4. Open Hamachi, then click “Create a new network” to set up your server.
  5. Paste your Hamachi IP address into your server.properties file next to “server-ip=”.
  6. Open Minecraft to add your server.
Part 1
Part 1 of 4:

Preparing to Create Your Server

PDF download Download Article
  1. Go to vpn.net in your computer's web browser, then click the green Download now button in the middle of the page. The Hamachi setup file will be downloaded to your computer.
    • If you're on a Mac and VPN.net prompts a Windows file to download, click the Mac link below the Download now button to force the Mac version to download.[1]
  2. Once you've downloaded Hamachi, install it according to your operating system:
    • Windows: Double-click the Hamachi setup file, select a language, and click Next. Check the "I have read" box and click Next. Click Next, and click Install. Click Yes if prompted at any point in the installation, then click Finish when prompted.
    • Mac: Open the ZIP folder, double-click the extracted Hamachi setup file, click Open, verify the download if necessary, check the "I have read" box, and click Install. Enter your password if prompted, then click Finish when prompted.[2]
    Advertisement
  3. Go to the official Minecraft server page in your computer's web browser, then click the minecraft_server.1.xx.xx.jar link in the middle of the page. This will prompt the Minecraft Java server file to download onto your computer.
  4. You can create this folder on your desktop or anywhere you can easily access. To create an empty folder, do the following:
    • Windows: Right-click a blank space in File Explorer, select New, click Folder. Name the folder “Minecraft Server” or something similar.
    • Mac: Click File, click New Folder. Name the folder “Minecraft Server” or something similar.
  5. Click and drag the downloaded Minecraft server file onto the new folder's icon, then release it there.[3]
    • You can also copy it by clicking the server file, pressing Ctrl + C (Windows) or Command + C (Mac), opening the new folder, and pressing Ctrl + V or Command +V on Mac.
  6. Advertisement
Part 2
Part 2 of 4:

Creating a Server

PDF download Download Article
  1. 1
    Double-click the server file. It will be in the Minecraft Server folder you just created. Doing so will prompt the server files to begin unpacking inside the folder.
    • Make sure you double-click the server launch file, which resembles a gear on a white background, rather than the text document.
  2. 2
    Agree to the Minecraft server terms of use. Once the "eula" file appears, right-click on it and click Open With. Open it in Notepad or TextEdit on Mac. Change "eula=false" to "eula=true." Then save the file.
  3. 3
    Double-click the server file again. This will prompt the server to resume unpacking. This may take a few minutes.
  4. Advertisement
Part 3
Part 3 of 4:

Configuring Hamachi

PDF download Download Article
  1. Open the Windows Start menu or the Magnifying Glass/Spotlight icon on Mac. Type in “hamachi,” and click or double-click LogMeIn Hamachi in the search results.
    • On a Mac, Network is a menu item at the top of the screen.
  2. Click the Sign up link in the upper-right corner of the window, then enter your email in the "email" text box, type a password into the "password" text box, retype your password into the "retype password" box, and click Create account. Once your account has been created, you will be prompted to log in. Enter your password and click Log In.
    • If an error message pops up and asks if you’d like to continue, click Yes.
  3. 4
    Click Create a new network. It'll be on the front page of Hamachi.
  4. In the "Network ID" text box, type in whatever you want to name your server.
    • If you select a server name that is already in use, Hamachi will alert you.
  5. Type your preferred server password into the "Password" text box, then retype the password into the "Confirm password" text box.
    • You will need to give this password to other players to join your server. Make sure you don’t use a password for any other account. Use a password you don’t mind sharing.
  6. It's at the bottom of the window. This will create your server.
  7. This is how the server will know to use Hamachi:
    • Right-click (or Control-Click on Mac) the IP address at the top of the Hamachi window.
    • Click Copy IPv4 address.
    • Open the server folder you created.
    • Right-click the Server.properties file.
    • Select Open with.
    • Open the file in Notepad on Windows or TextEdit on Mac.
    • Paste the server IP address next to “Server-IP=”.
    • Save the file.
  8. Right-click (or Control-click) the server name, then click Go online in the drop-down menu.
    • If you see Go offline in the drop-down menu, your server is already online.
  9. If you want to have some people join your server, they will have to download and install Hamachi before doing the following:
    • Open Hamachi.
    • Click Network
    • Click Join existing network...
    • Enter the server's name and password in the "Network ID" and "Password" text fields, respectively.
    • Click Join
  10. Advertisement
Part 4
Part 4 of 4:

Connecting to Your Server

PDF download Download Article
  1. 1
    Run the server file. Double-click the Java server file in your Minecraft Server folder. This will open the command window for the server file. You'll also want to ensure that your Hamachi server is running before proceeding.
    • To give yourself moderator privileges, type /op username (where "username" is your Minecraft username) into the text field at the bottom of the server run window and press Enter.
  2. 2
    Open Minecraft. Make sure you launch Minecraft: Java Edition. To do so, open the Minecraft Launcher and select Minecraft: Java Edition in the menu bar to the left. Then click Play.
  3. It's in the middle of the main menu.
  4. You'll find this option at the bottom of the window.
  5. 5
    Enter your server's name and IP address and click Done. Enter your server’s name below “Server Name”. Then copy the IPv4 address from Hamachi and paste into “Server Address.” Then click Done. Have your friends who want to join do the same.
  6. Once your server appears in the search results, click its name once to select it.
  7. This option is at the bottom of the window.
    • You may be prompted to enter a password before your world finishes loading. If so, type in the password you used to create your server when you configured Hamachi.
    • If your friends can’t connect, you may need to disable your firewall settings.
  8. Advertisement

Community Q&A

Search
Add New Question
  • Question
    What does Hamachi do for Minecraft?
    wikiHow Staff Editor
    wikiHow Staff Editor
    Staff Answer
    This answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
    wikiHow Staff Editor
    wikiHow Staff Editor
    Staff Answer
    Hamachi allows you to play LAN worlds with people online. It's the easiest way of playing Minecraft with friends without having to pay for a server or find a Minecraft realm.
  • Question
    What is the Hamachi IP address?
    wikiHow Staff Editor
    wikiHow Staff Editor
    Staff Answer
    This answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
    wikiHow Staff Editor
    wikiHow Staff Editor
    Staff Answer
    The Hamachi IP address is what you make on Hamachi that your friends join, direct connect this specific IP, then the port to open to LAN that hosts it. The IP is your IPV4 address in Hamachi. When looking at Hamachi, right-click on the numbers next to the power button and it should say "copy ipv4 address." Try that as the IP, and if that doesn't work, try the IPV6 address.
  • Question
    How do you join a LAN world in Minecraft?
    wikiHow Staff Editor
    wikiHow Staff Editor
    Staff Answer
    This answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
    wikiHow Staff Editor
    wikiHow Staff Editor
    Staff Answer
    You can join a LAN world in Minecraft either on the same WiFi as someone (usually this will mean you're in the same house/building) or you can do it as explained in the article above via Hamachi, online.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Play a Custom Minecraft MapPlay a Custom Minecraft Map
Make a Minecraft Server for FreeA User-Friendly Guide to Create a Free Minecraft Server
Make a Personal Minecraft ServerMake a Personal Minecraft Server
Make a Minecraft Server on a MacMake a Minecraft Server on a Mac
Make a Cracked Minecraft ServerEasy Ways to Make a Cracked Minecraft Server
Host a Minecraft ServerHost a Minecraft Server
Make a Minecraft Server for Your Friends and YouMake a Minecraft Server for Your Friends and You
Play Multiplayer on Minecraft JavaA Guide to Multiplayer in Minecraft Java Edition
Join Servers in Minecraft PEJoin Servers in Minecraft PE
Set Up a Tekkit ServerSet Up a Tekkit Server
Play Minecraft MultiplayerPlay Minecraft Multiplayer
Join a Minecraft ServerJoin a Minecraft Server
Create a Minecraft PE Server Set Up a Minecraft Server on PC or Mobile
Update a Minecraft Server Easily Update a Server in Minecraft without Losing Everything
Advertisement

About This Article

Travis Boylls
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Travis Boylls. Travis has been a tech writer at wikiHow for more than 10 years. He has also worked in technical support for Dish Network and AT&T Wireless. He studied graphic design and web design at Pikes Peak Community College. He specializes in Windows, macOS, Linux, Android, iOS, and video game consoles. Travis has had a fascination with computers and technology that goes all the way back to childhood. He is proficient in all manner of software and computer operating systems. This article has been viewed 1,357,818 times.
How helpful is this?
Co-authors: 47
Updated: February 6, 2026
Views: 1,357,818
Categories: Minecraft Servers
Article SummaryX

1. Download Hamachi and the Minecraft server file.
2. Create a "Minecraft Server" folder and drag the file into the folder.
3. Open the server folder and double-click the server launch file.
4. Accept the terms, save, and close the file.
5. Sign into Hamachi and create a new network.
6. Rename the text file in your server folder and delete the period from “server.properties.”
7. Open the file in Text Editor.
8. Paste your IP from Hamachi after "server-ip" and save the file.
9. Click Go Online in Hamachi.

Did this summary help you?

Thanks to all authors for creating a page that has been read 1,357,818 times.

Did this article help you?

Advertisement