Hosting a Dedicated Server
Recommended: Use a Linux/Windows machine with Java 8+
Setup Instructions
- Install Java if not installed
- Download
server-release.jar
from - Create a folder (e.g.
Desktop/Server
) and move the file into it - Open a terminal or CMD:
cd Desktop/Server java -jar server-release.jar
- Use
help
to view all available commands
Hosting a Game
To host a specific map:
host <mapname> [mode]
Connecting to a Server
- Launch Mindustry and go to Play > Join Game
- Enter the server’s IP address and port (default:
6567
) - Server will be saved in your history for future use
Port Forwarding
To allow connections from outside your LAN:
- Find your router model
- Search:
port forward [your router model]
- Forward port 6567 (TCP + UDP) to your local machine
- 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