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 fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 1,357,818 times.
Learn more...
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
- Download and install Hamachi and Minecraft to your computer.
- Create a folder and place the Minecraft server file in it.
- Open the server file, and agree to the terms of use to unpack the file.
- Open Hamachi, then click “Create a new network” to set up your server.
- Paste your Hamachi IP address into your server.properties file next to “server-ip=”.
- Open Minecraft to add your server.
Steps
-
Download Hamachi. 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]
-
Install Hamachi. 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 -
Download the Minecraft server file. 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.
-
Create a folder for your server. 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.
-
Place the Minecraft server file in the folder. 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.
-
1Double-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.
-
2Agree 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.
-
3Double-click the server file again. This will prompt the server to resume unpacking. This may take a few minutes.
-
Open Hamachi. 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.
-
Sign up for Hamachi and Log in to Hamachi. 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.
-
4Click Create a new network. It'll be on the front page of Hamachi.
-
Enter a name for your server. 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.
-
Enter a password for your server. 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.
-
Click Create. It's at the bottom of the window. This will create your server.
-
Paste your Hamachi IP address into your server folder. 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.
-
Go online. 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.
-
Have your friends join your server. 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
-
1Run 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.
-
2Open 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.
-
Click Multiplayer. It's in the middle of the main menu.
-
Click Add Server. You'll find this option at the bottom of the window.
-
5Enter 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.
-
Select your server. Once your server appears in the search results, click its name once to select it.
-
Click Join Server. 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.
Community Q&A
-
QuestionWhat does Hamachi do for Minecraft?
wikiHow Staff EditorThis answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
Staff Answer
wikiHow Staff EditorStaff AnswerHamachi 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. -
QuestionWhat is the Hamachi IP address?
wikiHow Staff EditorThis answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
Staff Answer
wikiHow Staff EditorStaff AnswerThe 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. -
QuestionHow do you join a LAN world in Minecraft?
wikiHow Staff EditorThis answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
Staff Answer
wikiHow Staff EditorStaff AnswerYou 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.
Video
Tips
-
When hosting a server, it's best to connect your computer directly to your modem to ensure that you have the most consistent Internet possible.[4]Thanks
-
If your friends cannot connect to your server, you may need to disable your firewall settings.Thanks
References
About This Article
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.



















