Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk10 min

Mindustry Server Port: How to Change and Forward It

Mindustry uses port 6567 by default. This guide shows how to change it, forward it to a home server, open TCP and UDP firewalls, connect players and troubleshoot failed joins.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Mindustry’s default dedicated-server port is 6567. A public server must allow that port over both TCP and UDP, and a home-hosted server also needs a router rule forwarding the port to the computer running Mindustry. To use another port, change it at the server console with config port <new-port>, then apply the same number in the host firewall, router, cloud firewall and the address players enter.

Which port does a Mindustry server use?

A dedicated Mindustry server starts on port 6567 by default. The Mindustry Wiki’s current setup guidance, accessed October 15, 2026, specifically says to allow port 6567 for both TCP and UDP. Opening only one protocol can leave players unable to establish or maintain a connection.

As an Amazon Associate I earn from qualifying purchases.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A port is only one part of the address. Players need the reachable IP address followed by a colon and the port, such as 198.51.100.24:6567. For a server on your home network, that address normally means your router’s public IP, not the computer’s private address such as 192.168.1.25. For a VPS or other hosted machine, it is the provider-assigned public address.

What must be configured for a public server?

Every layer must agree on the same port. The application listens on one value, the operating-system firewall permits that value, and a home router (if present) forwards it to the correct local machine. A cloud server adds a provider-level firewall to the chain.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.
Layer What to set When it applies
Mindustry server Listening port, default 6567 Always
Operating-system firewall Allow the selected port for TCP and UDP Always
Home router Forward the selected external port to the server computer’s local IP and port, for TCP and UDP Home hosting from outside the LAN
Cloud-provider firewall Allow the selected port for TCP and UDP VPS or cloud hosting
Client address public-address:port Every remote player

If you host without router forwarding, the dedicated server is reachable only by devices on the same local network. Forwarding is not needed when every player is on that LAN, but it is required for ordinary internet connections to a home server.

Dedicated server versus in-game hosting

Dedicated server

The dedicated-server release runs independently of the graphical game client. You start it with Java, leave the process running, and use the server console to load maps and change settings. It is the appropriate choice for a server intended to remain available while no particular player’s game window is open.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Host Multiplayer Game

The in-game Host Multiplayer Game option is designed for small LAN sessions. It runs only while the game is open and is not the same as a 24/7 dedicated server. If friends are connecting over the internet, use a dedicated process or another remote-hosting arrangement and configure the network path described below.

Start the Mindustry dedicated server

  1. Download the dedicated-server release that matches the version your players will use.
  2. Install a compatible Java runtime and launch the server with Java according to the release instructions.
  3. At the server console, start a game with host <mapname> [mode]. Replace <mapname> with the map name; the bracketed mode is optional.
  4. Keep the process running while players connect. A listening port with no hosted map can still produce a failed join attempt, so confirm that a game is active before troubleshooting the network.

The server’s default listening port is 6567 unless you have changed it in the configuration. The console is also where you verify the value after making a change.

Check or change the Mindustry port in the console

Mindustry exposes server settings through the config command. Run the command without a value to read the current setting, provide a number to change it, and then read it again to verify.

Rank #2
Sale
Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
  • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
  • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
  • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
  • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
  • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.
config port
config port 5668
config port

In this example, the final command should report 5668. The value 5668 is an example used by a Hetzner Community tutorial; its console transcript is dated August 7, 2024. It is not a required Mindustry port. Choose any unused port allowed by your network and operating system, then use that exact value everywhere else.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choosing a replacement port

  • Use a numeric port that is not already occupied by another service on the server.
  • Avoid changing the application to one number while forwarding or opening a different number. The external router port can be different in some advanced designs, but the straightforward and least error-prone rule is to use the same number at every layer.
  • Record the selected value before editing firewall and router rules so that old 6567 rules do not get mistaken for the active configuration.

Forward the port on a home router

Router menus vary by manufacturer and firmware. Look for a page named Port Forwarding, NAT, Virtual Server or a similar term. The Mindustry Wiki recommends finding instructions for the specific make and model of your router rather than assuming that every interface uses the same fields.

  1. Assign the server computer a stable local IP address. A DHCP reservation in the router is usually preferable to relying on a manually typed address that could later change.
  2. Open the router’s port-forwarding or NAT page.
  3. Create a rule whose external or public port is the selected Mindustry port.
  4. Set the destination or internal IP to the server computer’s stable local address.
  5. Set the internal port to the same Mindustry port unless your network design deliberately maps it to another value.
  6. Select both TCP and UDP. If the router requires separate rules, create one rule for each protocol.
  7. Save or apply the rule, then restart the router only if its interface requires a restart for changes to take effect.

The official example forwards 6567 TCP and UDP. If the console now reports 5668, forward 5668 instead; leaving only a 6567 rule will not expose the server that is listening on 5668.

Why the local IP must be stable

A forwarding rule points to an internal address. If the router later gives the server computer a different DHCP address, the rule can continue pointing at the wrong device even though the Mindustry process and firewall are configured correctly. Reserve the address before testing from the internet.

Open the host and cloud firewalls

Operating-system firewall

On the machine running Mindustry, add inbound rules that permit the selected port over both TCP and UDP. Apply the rules to the network profile used by the server. A router forward cannot bypass an operating-system firewall that drops the incoming packets.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by

VPS or cloud firewall

A remote server does not sit behind your home router, so there is no household NAT rule to create. It still may have two firewalls: the provider’s cloud security group or firewall and the operating system’s own firewall. Allow the selected TCP and UDP port in both. The Hetzner tutorial’s 5668 example explicitly requires changing the firewall allowance after changing the Mindustry setting.

Keep the values synchronized

Server setting Router rule Host firewall Cloud firewall Client entry
6567 (default) 6567 to the server’s local IP TCP 6567 and UDP 6567 TCP 6567 and UDP 6567, if applicable address:6567
5668 (example change) 5668 to the server’s local IP TCP 5668 and UDP 5668 TCP 5668 and UDP 5668, if applicable address:5668
Any other chosen value That value to the server’s local IP That value over TCP and UDP That value over TCP and UDP, if applicable address:that-value

Give players the correct address

In the Mindustry client, open Play → Join Game → Add Server. Enter the public or remote address in the form <ip-address>:<port>. For example, the Hetzner tutorial shows 203.0.113.1:5668; that address is an example placeholder, so replace it with the server’s actual public address and your selected port.

  • Players outside your home network use the router’s current public IP, not the server’s private LAN address.
  • Players on the same LAN can generally use the server’s private address and do not depend on internet port forwarding.
  • Players must include a non-default port after the colon. Entering only the IP makes the client try its default rather than the custom value.

Optional DNS SRV record

A DNS SRV record can make a custom port easier to share. MindustryServerList documents the _mindustry service with protocol tcp, a target host and the selected port, allowing a subdomain to represent the service instead of asking players to remember host:port. DNS does not replace the Mindustry configuration, router forwarding or firewall rules; it only provides a name-to-service mapping. Keep the selected port open for both TCP and UDP as required by the server setup.

Home hosting or a VPS?

Consideration Home dedicated server VPS or cloud server
Reachability Requires router forwarding for internet players; LAN players can connect without it. Uses a provider-assigned public address; no household router forward.
Availability Depends on your computer, power, internet connection and whether the server process remains running. Can remain online independently of your desktop session.
Network control You control the router and the host firewall. You control provider-level and operating-system firewalls, subject to the provider’s interface.
Privacy and exposure Exposes a residential public IP to remote players; the Mindustry Wiki warns about this security consideration. Separates the game service from your residential address, although the remote machine still needs hardening.
Administration Uses hardware and connectivity you may already own, but you maintain the router and host. Adds a recurring service decision and provider-specific administration.

The official documentation names AWS, Linode and DigitalOcean as examples of cloud or dedicated-server providers. The important distinction is operational: a VPS removes home-router forwarding, not firewall configuration. You still open the selected port in the provider controls and on the server itself.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When home hosting is practical

Choose home hosting when the server computer can stay powered on, your internet service permits inbound connections, and you are comfortable exposing the household public IP. A stable local address and a correctly scoped firewall rule are essential.

Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.

When a remote host is preferable

A VPS is useful when you need a server that remains online while your desktop is off, cannot configure inbound forwarding, or prefer not to expose a residential address. Budget and system administration become part of the decision, and the provider’s firewall panel must be configured before testing.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot “Can’t connect to host”

Work from the server outward rather than changing several settings at once. The following checks cover the failure modes identified in the setup guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

1. Confirm that a game is actually being hosted

At the server console, run the host command with a valid map. A running Java process that has not started a game may not accept the join attempt you are testing.

2. Verify the active port

config port

Write down the value returned. Compare it with the port in the router rule, host firewall, cloud firewall and the client’s address:port entry. Do not assume that a previous 6567 rule remains correct after changing the configuration.

3. Check both protocols

Confirm that TCP and UDP are allowed at every firewall layer that applies. A rule limited to TCP, or a router entry that forwards only one protocol, does not satisfy the Mindustry Wiki’s requirement.

4. Check home NAT and the destination address

For home hosting, confirm that the router’s rule points to the server computer’s current local IP. Test from a device outside the home network; testing the public address from inside the same LAN can fail on routers that do not support NAT loopback even when outside players would connect successfully.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

5. Check cloud controls

On a VPS, inspect the provider firewall or security-group rule as well as the operating-system firewall. Opening the port in Linux, Windows or another host system is insufficient if the provider blocks the packet before it reaches the machine.

6. Investigate a port conflict

If the server reports that the port is already in use, identify the process holding it. On systems that provide lsof, run:

lsof -i :<port>

Replace <port> with the configured value. Stop the stale process only after confirming that it is safe to terminate; it may be another service you still need. Then restart Mindustry and verify the port again.

7. Confirm the address players entered

Make sure players use the public address for a home server or the remote host’s public address for a VPS, followed by the selected port. A private address such as 192.168.x.x is normally usable only inside the same local network.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Security and maintenance considerations

  • Expose only the port required for the server, and remove old forwarding or firewall rules when you stop using a port.
  • Keep the dedicated-server software, Java runtime and operating system maintained according to their release guidance.
  • Use a stable local IP reservation rather than forwarding to a device whose address changes frequently.
  • Remember that publishing a home server’s public IP reveals your residential network endpoint to players. The Mindustry Wiki suggests a VPN or a webhost/cloud service as alternatives when that exposure is unacceptable.
  • Document the chosen port, the server computer’s local address and the router rule so you can recover after replacing hardware or resetting the router.

Quick configuration checklist

  1. Start the dedicated server and run config port.
  2. Leave 6567 in place unless you have a reason to change it; if changing it, run config port <new-port> and verify with config port.
  3. Use host <mapname> [mode] to start an active game.
  4. Allow the selected number over TCP and UDP in the operating-system firewall.
  5. For home hosting, reserve the server computer’s local IP and forward the selected port for TCP and UDP.
  6. For a VPS, allow the selected port in the provider firewall as well as the operating-system firewall.
  7. Tell players to use <public-ip>:<port> through Play → Join Game → Add Server.
  8. If connection fails, compare the active console value with every network rule, verify that a map is hosted, and check for a process already using the port with lsof -i :<port>.

Bottom line

Use port 6567 unless you need another value. The reliable setup is one verified Mindustry port, permitted for both TCP and UDP, forwarded to a stable local IP when hosting at home, and opened in every applicable firewall. Players then connect with the matching public address and port.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.