Hosting a Dedicated Server

Recommended: Use a Linux/Windows machine with Java 8+



Setup Instructions

  1. Install Java if not installed
  2. Download server-release.jar from
  3. Create a folder (e.g. Desktop/Server) and move the file into it
  4. Open a terminal or CMD:
    cd Desktop/Server
    java -jar server-release.jar
    
  5. Use help to view all available commands



Hosting a Game

To host a specific map:

host <mapname> [mode]


Connecting to a Server

  1. Launch Mindustry and go to Play > Join Game
  2. Enter the server’s IP address and port (default: 6567)
  3. Server will be saved in your history for future use


Port Forwarding

To allow connections from outside your LAN:


  1. Find your router model
  2. Search: port forward [your router model]
  3. Forward port 6567 (TCP + UDP) to your local machine
  4. Test using: YouGetSignal

⚠️ Use a domain or dynamic DNS to avoid sharing your public IP.



Windows Firewall

Make sure port 6567 is allowed (TCP + UDP):


  • Search: how to allow port 6567 Windows 10
  • Add inbound and outbound rules


IP Address Types

  • Local IP – for LAN connections
  • Public IP – for internet hosting

You can find them using:

  • Local: ipconfig / ifconfig
  • Public: Search "what is my IP" on Google