How to Set up A Minecraft Server On Windows

Learn How to Set Up a Minecraft Server on Windows

Article's banner

Creating your own Minecraft server gives you even more flexibility during gameplay. You can choose the game mode, assign or deny roles to other players, customize your worlds, and more. In this guide, you’ll learn how to set up a Minecraft server on your Windows PC, port forwarding, and ways to invite other players to your server.

Short On Time? Check Out These Top Minecraft Hosting Providers

ProviderUser RatingDiscounts 
4.830 Days Free TrialVisit Kamatera
4.41st Month at $0.01Visit InterServer
4.9Up to 25% OffVisit Ultahost

If you’re looking for a hosting provider to help you set up your server, be sure to check out our recommended list of the best Minecraft hosting providers.

  • Check out the minimum and recommended requirements for running a Minecraft server to ensure your server runs successfully on Windows
  • The base of Minecraft is Java, so you need to install Java before setting up the Minecraft server on your personal computer (PC)
  • If you’re entirely new to the world of Minecraft and interested in testing the waters, opt for the Minecraft: Java Edition server software
  • Port forwarding allows you to connect with devices or players outside your local network
  • Run tests to ensure your server is fully functional before inviting friends

Requirements for Setting Up Minecraft Server

Setting up your Minecraft server is almost effortless if you follow the right steps. First, you need a strong and reliable internet connection to manage and configure servers. In general, the requirements are categorized into three:

  • System requirements,
  • Minecraft server software, and
  • Java installation

System Requirements

You need the appropriate system requirements to successfully create and run your Minecraft server on Windows. This is essential for optimal server performance, especially if you plan to have multiple players on the server.

Minimum requirements 

  • CPU: Intel Core i3-3210 3.2GHz or AMD A8 – 7600 APU 3.1 GHZ
  • RAM: 4GB
  • HDD: At least 2GB for game core and 5GB if you’re doing frequent backups
  • OS: Windows 7 and higher
  • Network: Broadband internet connection with at least 1Mbps

Recommended requirements

  • CPU: Intel core i5-4690 3.5GHz or AMD A10-7800 APU 3.5 GHz
  • RAM: 8GB or higher
  • HDD: 4GB SSD or higher
  • OS: Windows 10 or newer versions
  • Network: Broadband internet connection with at least 3Mbps
Tip: The minimum system requirements are sufficient to keep the server running but may cause performance issues with complex worlds or having multiple players. However, the recommended requirements will provide optimal performance during gameplay, even with more players or complex worlds.

Minecraft Server Software

Listed below are the popular Minecraft server software for Windows:

Minecraft: Java Edition Server – Best for Beginners

This is the official server software by the creators of Minecraft, Mojang. It’s also the most popular of all the Minecraft server software. Minecraft: Java  Edition server allows you to host or set up your Minecraft server via Realms. It supports all game modes, including survival, creativity, adventure, etc. The software is free and open-source for users to download.


  • Free to download and use
  • Easy to set up and configure
  • A plethora of how-to guides and tutorials to help newbies get started
  • Compatible with all Minecraft versions
  • It has a thriving server ecosystem


  • It doesn’t support all devices
  • Limited customization options compared to other server software

Vanilla Minecraft Server – Best Unmodified for Beginners

This is another official unmodified Minecraft server software from Mojang. It doesn’t require additional software or plugins, making it suitable for newbies who desire the ‘pure’ Minecraft experience or those with small private servers.


  • Compatible with most servers, including Hypixel
  • Requires no extra software or plugin to setup or configure
  • Easy to set up and configure


  • Players have limited control over server settings
  • No customization options or features
  • Built for single players and isn’t optimized for servers

Forge – Best Modified for Beginners

Forge is built on vanilla, allowing players to create and run Minecraft mods on their servers. It is open-source and free for users to download. It was designed to be compatible with the Minecraft: Java Edition server. This Minecraft server software is perfect for players who are interested in enhancing their gameplay.


  • It has extensive customization features and settings
  • Easy to set up and use
  • Enables players to create and use Minecraft mods on their servers
  • It has a handful of tutorials and documentation for first-time users
  • Access to already created mods and a large ecosystem


  • Only compatible with Java edition server
  • Requires technical knowledge to use effectively
  • Complex mods can impact game performance

Spigot – Best Flexible and Customized Server Software

This is the most popular Minecraft server software in the world. It is a remodified version of the CraftBukkit, and similar to Forge, it was designed to work with Minecraft: Java edition server.

Unlike Bukkit, Spigot is more efficient in handling more users on the server, hence mitigating performance issues during gameplay. It also works with BungeeCord, allowing you to hook multiple servers simultaneously. Spigot is perfect for players who prioritize speed and performance.


  • Optimized to handle multiple players and plugins without hampering performance
  • Compatible with several plugins and Minecraft mods
  • Large ecosystem and active community support


  • It may require sufficient technical knowledge to setup and configure
  • Designed to work with the Java edition of Minecraft
  • Not so user-friendly compared to other server software

Minecraft Bedrock Dedicated Server – Best for Cross-platform Plays

The Minecraft bedrock dedicated server (or pocket edition server) is the official server for Minecraft: Bedrock edition. It allows players to set up their servers using a cloud-based hosting service or a dedicated machine. The server software is designed to host multiplayer game sessions for the Minecraft bedrock edition.


  • Supports cross-platform plays
  • Easy to setup and configure
  • Have a variety of customization options
  • Optimized performance for gameplay compared to Java Edition


  • Mods are add-ons and come at a cost
  • Difficult to modify as there are no standard mod loaders
  • Servers are limited due to a lack of mod loaders for servers
  • Paid hosting services

Paper: Best for Performance

Paper is a high-performance fork of Spigot and Bukkit. It was designed by a group of developers aiming to improve the performance issues in Spigot (expect a lot of Spigot features if you run this on your server). If you’re looking for optimized Minecraft server software, Paper will be your best bet.


  • Focuses on improving server performance and reducing lags
  • Streamlines running a Minecraft server
  • Incredibly active developer community
  • Incessant updates and bug fixes


  • Not so beginner-friendly compared to other software servers
  • It may be complicated to setup and configure

Java Installation

Minecraft was written in Java, so you’ll need to install Java to host a Minecraft server on your PC or play the game. Plus, Minecraft runs on Java-based in .jar files. Follow the following steps to install Java on Windows:

Step 1: Head over to the Java official download page to access Oracle, the official Java developer download page

Final: How to Set up A Minecraft Server On Windows

Step 2:  Click on the Java 17 and Windows x64 installer

Tip: Ensure you install Java 17. If you install an older or newer version, you may experience complications with Minecraft

Final: How to Set up A Minecraft Server On Windows

Step 3: Click the link next to the ‘x64 Installer column’ and accept the terms and conditions. Then, your download will automatically begin.

Why Port Forwarding Is Needed

By default, routers block any incoming Internet traffic to protect devices on the network from security vulnerabilities. This can prevent other players from connecting to your Minecraft server. Port forwarding is a useful networking tool necessary for setting up a Minecraft server on Windows because it allows you to connect and play with friends across the internet.

Aside from gaming, port forwarding can also be applied in various networking scenarios, for example, connecting to your home computer from another location outside your local network.

Explanation of Port Forwarding

Port forwarding or port mapping is a process that allows remote or private servers from the internet of your router to access a local network or port using TCP/IP and UDP ports. Without port forwarding, it will be impossible for other devices or servers to see the IP addresses of your servers or devices.  This is because the firewall on your server blocks all incoming Internet traffic to your router and prevents it from accessing your Minecraft server unless you forward it to the appropriate ports.

Generally, Minecraft uses port 25565. By sharing your router’s public IP address with your gaming friends and enabling port forwarding on your router, any incoming traffic on this port (port 25565) is automatically redirected to the device running your Minecraft game server. This allows other players across the internet to connect to your game server and join to play.

Setting Up Port Forwarding on Your Router

To forward ports to your router, ensure you have a Minecraft server running on your PC (more details on how to do this in the next section).

Step one: Go to the start menu of your PC and search for the ‘Command Prompt’ app.  Click open:

Final: How to Set up A Minecraft Server On Windows

Step two: Once the command prompt opens, type ‘ipconfig’ and enter. You’ll see a ton of IP addresses for your network. Find the default gateway and IPv4 address under the ‘Ethernet adapter Local Area Connection’ or ‘Wireless LAN adapter Local Area Connection’ section. Copy the default gateway:

Step Three: Next, open your web browser on your PC and paste the default gateway you copied in the preceding step into the address bar. You’ll see a small box in the right-hand corner to input the details of your router:

Final: How to Set up A Minecraft Server On Windows

Tip: If you can’t access your login details, check the back or bottom of your router for a sticker that lists your default username and password. If you still can’t find it, try contacting your ISP.

Final: How to Set up A Minecraft Server On Windows

Step Four: Once logged in, look for the port forwarding settings. This may vary depending on the make or model of your router. Generally, you should find it in the Firewall, administration, advanced or security tab.

Final: How to Set up A Minecraft Server On Windows

Step Five: Click the enabled option. Then, in the ‘ID or service name,’ input ‘Minecraft Java Server’ for the Minecraft: Java Edition or ‘Minecraft Bedrock Server’ for the Bedrock Edition. Add the local static IP address of the computer running the Minecraft server (check step 2). The private and public port is the default Minecraft server port 25565. Apply the configuration for TCP and UDP ports (or just TCP if UDP isn’t an option).  Once done, click ‘Apply’ to save your changes.

Final: How to Set up A Minecraft Server On Windows

Note: The process above is for Minecraft: Java Edition Server. For the Minecraft Bedrock edition server, you need to port forward twice. For the first port, enter 19132 in place of 25565. Repeat the same for port 19133.

Step Five: Restart your router and Minecraft server to ensure the changes made are affected. Go to the server console and enter ‘/stop’:

Final: How to Set up A Minecraft Server On Windows

Step Six: Once done, go to a new tab on your browser and enter this search term ‘what is my IP address’:

Final: How to Set up A Minecraft Server On Windows

Voila! Now players should be able to connect to your Minecraft server from the internet using your public IP address (as shown above).

Server Setup

Final: How to Set up A Minecraft Server On Windows

Setting up your Minecraft server on Windows is easy if you have adequate technical knowledge of the required steps:

1. Creating a folder for your server files

For quicker accessibility, create a folder to store the server files. To do this, open ‘Files Explorer’ on your computer. Locate and click ‘New Folder’ or type ‘ctrl + shift + N.’ Then, name your folder, preferably something you can easily remember, like ‘Minecraft Software’:

Final: How to Set up A Minecraft Server On Windows

Then, proceed to download the Minecraft Server files from their official website. (If you haven’t installed Java yet, check the ‘Requirements for setting up Minecraft’ section in this article to guide you through the process):

Final: How to Set up A Minecraft Server On Windows

Next, extract the files from the Minecraft server file by double clicking the downloaded file tagged ‘server.jar’ and drag it into the ‘Minecraft server’ folder you initially created:

Final: How to Set up A Minecraft Server On Windows

2. Configure Server Properties

In this step, you have to set up the server properties by configuring the files. First, read the Minecraft End User License Agreement carefully to understand their terms of service. Once you’re done, locate the ‘eula.txt’ file, accept the agreement terms, and save.

Final: How to Set up A Minecraft Server On Windows

Then, locate the file to configure the server settings, including game mode, difficulty level, memory, etc. Adjust the settings to suit and preferences and save accordingly.

3. Creating a Batch File To Run The Server

Create a batch file inside the Minecraft Server folder for easy editing. Simply right-click any part of the folder and select New>>Text document’  You can give it any name of choice:

Final: How to Set up A Minecraft Server On Windows

Then right-click the text document, and you’ll see a notepad window. Type the following command on the Minecraft download page:

 java -Xmx1024M -Xms1024M -jar minecraft_server.1.18.1.jar nogui

You can twerk the command to set the minimum and maximum values allocated to your server by adjusting the -Xmx and -Xms values. The more RAM you give it, the faster it runs. For example, this is the command for 2048:

java -Xmx2048M -Xms2048M -jar minecraft_server.1.18.1.jar nogui
Tip: The number before the ‘.jar’ differs based on the current Minecraft version.

Lastly, change the .txt file to .bat and click save. Congratulations! You’ve finally set up your Minecraft server on your Windows computer.

Testing the Server

Now that you’ve successfully installed your Minecraft server, it’s expedient to test the server to ensure everything is running perfectly. It also verifies the absence of bugs or other issues impairing performance during gameplay with other players. To do this:

1. Join the Server from Your Own Computer

To explore the new Minecraft server from your own computer, follow these steps:

  • Launch Minecraft and select ‘Multiplayer’ on the main menu:

Final: How to Set up A Minecraft Server On Windows

  • Then, click ‘add server’ to add the server address:

Final: How to Set up A Minecraft Server On Windows

  • Next, click on ‘Join Server’ immediately the server name as it appears on your list

Final: How to Set up A Minecraft Server On Windows

2. Inviting Friends to Join Your Server

You need to share your public IP address with friends to play with them. To get this information, go to your browser and type ‘what is my IP address?’ Your IP address displays as follows:

Final: How to Set up A Minecraft Server On Windows

Then, share your IP address and Minecraft port number with your friends. They can add your information to their list of ‘Multiplayer’ using the same process in the preceding section.

What happens if your friend can’t connect to your Minecraft server?

If your friends are having issues joining your Minecraft server, it can cause a glitch in the internet connection, or you’re using a different Minecraft version. Other probable reasons include misconfiguration of your network settings or playing on a server you’re blacklisted from. Whatever the issue may be, here are some ways to troubleshoot the issue:

  • Ensure you have the same Minecraft version installed on your devices
  • Port forward your router using the steps in the ‘Port Forward’ section
  • Ensure your friend has the correct IP address and port number of your Minecraft server
  • Try reinstalling the Minecraft server


Now the fun begins! Since you’ve successfully created and configured your Minecraft server on your PC, you can fully control your Minecraft adventure. Pick up your ax and start exploring new items to build! To mitigate or avoid security vulnerabilities, safeguard your server’s IP address and port number by sharing them with people you trust. Preferably, use to share your game with other players without providing your IP address.

Next Steps: What Now?

Further Reading – Useful Resources

Frequently Asked Questions

Do I need a dedicated computer to run a Minecraft server, or can I use my personal computer?

Yes, you can use your personal computer to run a Minecraft server. But you also need a dedicated computer to avoid a lag-filled experience during gameplay.

Although both processes have their strengths and weaknesses. Running the Minecraft server on your PC heightens security vulnerability. But a dedicated server mitigates cyber attacks because it has robust security features such as anti-virus software and a firewall. If you use your PC, ensure you have the recommended system requirements for hosting the Minecraft server.

What is port forwarding, and why is it necessary for running a Minecraft server?

Port forwarding or port management redirects incoming traffic from a specific port on your router to a device or server on your local network. This can help reduce latency and improve connectivity between game players.

When running a Minecraft server on your PC or a dedicated server, you need to forward the Minecraft server port – usually port 25565 – in your router settings to enable other players to connect to your server via the internet.

Can I customize my Minecraft server settings, such as game mode and difficulty level?

Yes, you can customize your Minecraft server settings to your preferences. The game difficulty, world generation options, game mode, etc., can be customized by editing the file.

How do I invite my friends to join my Minecraft server?

You can invite your friends to join your Minecraft server by sharing your public IP address and port number. They can then use this information to add your server to their multiplayer server list in Minecraft and join your game.

Can you host a server on Minecraft Windows 10?

Yes, you can host a Minecraft server on Windows 10.

HostAdvice Speaks to ScalaHosting: An Interview with Chris Rusev

HostAdvice had the opportunity to speak with Chris Rusev, the CEO and co-founder of , a web hosting company that offers shared, cloud VPS, and...
8 min read
Eddie Segal
Eddie Segal
Digital Marketing Specialist

Email Deliverability: What Is It, Key Factors & Best Practices

What is Email Deliverability? Think of it like mailing a letter and making sure it lands right in the recipient's hands, not lost or thrown...
17 min read
Ela Gal-Kfir
Ela Gal-Kfir
Digital Marketing Specialist

Email Marketing vs. Social Media: Which is More Effective?

What is Email Marketing? Email marketing is a  that involves companies reaching out to potential and existing customers via email ...
10 min read
Ela Gal-Kfir
Ela Gal-Kfir
Digital Marketing Specialist

Email Engagement Metrics, Calculation & Best Practices

Email engagement tells us how interested recipients are in the content of emails they receive. It provides insights into what types of em...
12 min read
Ela Gal-Kfir
Ela Gal-Kfir
Digital Marketing Specialist provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.
Click to go to the top of the page
Go To Top