If you experience any difficulty in accessing content on our website, please contact us at 1-866-333-8917 or email us at support@hudsonvalleyhost.com and we will make every effort to assist you.

By
 
May 15, 2025

How to Create and Set Up a Free Minecraft Server on Your PC

Deluxe company -

If you’re interested in creating your own Minecraft server on PC, this guide will walk you through the necessary steps, whether you choose to set up a free server using your computer or opt for a paid alternative.

Getting Started with Your Server

Minimum System Requirements

Before you begin, ensure your PC meets the recommended minimum requirements:

  • CPU: Dual-Core 2 GHz or higher (Intel/AMD)
  • RAM: At least 6 GB (8 GB if there are more than five players)
  • Disk Space: 10 GB free (SSD recommended)
  • Internet Speed: 10 Mbit/s upload/download for online servers

Download Server Software

  1. Go to the official Minecraft server page: Minecraft Server Download.
  2. Download the server file for your version, such as minecraft_server.1.21.5.jar.
  3. Create a folder where you can easily access it (e.g., "Minecraft Server") and place the downloaded .jar file inside.

Install Java

Ensure you have Java installed, which is required to run the server:

  1. Check if you have Java using the command java -version in the terminal (CMD for Windows, Terminal for macOS/Linux).
  2. If Java isn’t installed or is an older version, download the latest version from Java Download.

Starting Your Server

  1. In the Minecraft Server folder, double-click minecraft_server.1.21.5.jar. If that doesn’t work, use the command line:
    • For Windows: Open CMD, navigate to the folder (using cd command) and run:
      java -Xmx1024M -Xms1024M -jar minecraft_server.1.21.5.jar nogui
    • The configuration files will begin creating, and the server will stop after a moment.

Accept the EULA

  1. Open the eula.txt file in the server folder with a text editor.
  2. Change eula=false to eula=true and save.
  3. Run the server command again.

Configuring Server Settings

  1. Locate and open the server.properties file in your server folder.
  2. You can customize various options such as:
    • gamemode=survival (change to creative/adventure)
    • difficulty=easy (set to peaceful/normal/hard)
    • max-players=20 (or adjust based on your PC capacity)
    • motd=A Minecraft server (custom welcome message)
    • pvp=true (enable or disable Player vs Player)

Ensure the server is closed while making these changes, then restart it for them to take effect.

Connecting Players to Your Server

Via Local Network (LAN)

  1. Start the server and find your local IP address (usually something like 192.168.x.x) by typing ipconfig (Windows) or ifconfig (macOS/Linux) in the terminal.
  2. In Minecraft, go to Multiplayer > Add Server and enter the local IP address to connect.

Online via Port Forwarding

  1. Access your router settings (usually via 192.168.1.1 in the browser).
  2. Set up a port forwarding rule for TCP/UDP port 25565 pointing to your PC’s local IP.
  3. Find your public IP by searching “what is my IP” on Google.
  4. Share your public IP with friends alongside the port (e.g., 203.0.113.1:25565).
  5. Ensure your firewall allows traffic on port 25565.

Troubleshooting Common Issues

  • If you encounter "invalid server key" errors, ensure all players are on the same version of Minecraft.
  • Connection issues may arise from incorrectly configured router settings or active firewalls blocking the server.
  • If performance lags, it’s possible your PC lacks adequate power or internet speed.

For those wishing to keep the server exclusive, you can enable whitelisting to restrict access to specific usernames.

Alternative Hosting Solutions

For those looking for a hosted experience, several services offer free Minecraft servers, like Aternos or Minehut, though with limitations on performance and player capacity. These services can guide you through setup without software installation.

With this guide, you’re now ready to create and manage your own Minecraft server. Enjoy playing with friends, and happy crafting!


For further details on Minecraft or to explore more gaming content, check out our gaming section: Gaming.


Hudson Valley Host is premier provider of cutting-edge hosting solutions, specializing in delivering a seamless online experience for businesses and individuals. We offer a comprehensive range of hosting services, including Shared Hosting, VPS, Dedicated Servers, and Colocation. With 24/7 technical support, robust security measures, and user-friendly control panels, we empower clients in managing their online presence effortlessly. Hudson Valley Host is your trusted partner in achieving online success.

For Inquiries or to receive a personalized quote, please reach out to us through our contact form here or email us at sales@hudsonvalleyhost.com.

Deluxe company - 

Subscribe Email