Sharing Minecraft from localhost

Dec 6, 2023 · 2 mins read

With, you can easily share your Minecraft server from localhost with just a single command. Replace the port 25565 with the port where your server is running.

Invalid CIDR Format
Invalid CIDR Format
Alphanumeric characters only

Ways to Start a Minecraft Server

Using the Minecraft Server JAR file:

  • Download the Minecraft server software:

    • Visit the official website.
    • Download the server software suitable for your operating system.
  • Setting up the server:

    • Once downloaded, navigate to the directory where the server file is located.
    • Open a terminal or command prompt in that directory.
  • Launch the server:

    • Run the following command:
      java -Xmx1024M -Xms1024M -jar server.jar nogui
      Replace server.jar with the actual name of your server file if different.
  • Configuring the server:

    • After the server starts, follow the console prompts to configure settings such as game mode, difficulty, etc.
    • You can also modify the file for more advanced configurations.