Mobile strategy Mindustry has won the hearts of millions of players thanks to its deep logistics mechanics and exciting defensive battles. However, the real fun of the game only comes when you can coordinate with your teammates in real time. Many Android users are wondering how to organize a joint session without resorting to complex PC settings or paid hosting.

In this article we will analyze in detail all the available methods for connecting to multiplayer mode on mobile devices. You will learn how to turn your smartphone into a full-fledged game server, what network settings are critical for a stable connection, and how to avoid common mistakes when synchronizing cards. Follow our instructions to launch factories and turrets with your friends today.

To start the game, you will need to make sure that all participants have the same version of the client installed. Differences in versions often lead to inability to connect or crashes during a match. It is also worth agreeing in advance on the choice of map and mods if you plan to use additional content.

Device preparation and basic settings

Before launching local server, you need to make sure that your device is ready for the load. Playing in host mode requires more resources than a regular single-player game, as the CPU must handle the logic of all players and the enemy AI at the same time. Make sure that your smartphone has enough free RAM. Local server Go to the game settings through the menu. Here you will find parameters that affect server performance. It is recommended to turn off unnecessary visual effects if the device begins to overheat. This is especially true for older phone models, where throttling can cause lags for all connected players. Android- the smartphone has enough free RAM.

Go to the game settings through the menu Options โ†’ Game. Here you will find parameters that affect server performance. It is recommended to turn off unnecessary visual effects if the device begins to overheat. This is especially true for older phone models, where throttling can cause lag for all connected players.

Also check the application's network access rights. On Android, it sometimes happens that the firewall or power saving settings block background network activity. Go to Phone settings โ†’ Applications โ†’ Mindustry โ†’ Mobile data and Wi-Fi and make sure that data permission is enabled.

๐Ÿ’ก

Before starting a long session, close all background applications except the messenger for communicating with friends. This will free up RAM and reduce the risk of the game crashing.

It is important to understand the difference between the client and the server. When you create a game, your phone acts as a server. If it becomes blocked or collapsed, the session will be interrupted for all participants. Therefore, it is best to play while keeping the screen active or using the "Keep the screen on" mode in the developer settings.

Playing over a local Wi-Fi network

The easiest and most stable way to play with friends is to use the same local network Wi-Fi. This method provides minimal latency (ping) and does not require setting up complex network rules. All participants must be connected to the same router.

The host (the creator of the game) must go to the menu Join Game and select the tab Local. If the server is started correctly, it will automatically appear in the list of available games for other players. The server name usually displays the host nickname and the name of the map.

โš ๏ธ Attention: If players are in the same room but do not see the server in the list, check your router settings. AP Isolation prevents devices from seeing each other on the network. It must be disabled in the router control panel.

Sometimes it is useful to know the IP address of your device for direct connection. To find it out, open the Wi-Fi settings on your phone, click on the name of the active network and find the field IP address. Usually it looks like 192.168.1.X. Other players can enter this address manually in the field Direct Connect.

๐Ÿ“Š Which connection method do you use most often?
Local Wi-Fi
mobile data (Hotspot)
Public servers
Steam (cross-platform)

The stability of the local network connection directly depends on the quality of the router signal. If you are far from the signal source, you may experience packet loss. In this case, try moving closer to the router or rebooting it before starting the game.

Creating an access point for playing without a router

What to do if you donโ€™t have a Wi-Fi router at hand, but you really want to play? Your smartphone can become an access point, creating its own local network. This method is ideal for meeting friends in the park, on the road, or in a place where there is no landline Internet.

Enable modem mode on the host device via Settings โ†’ Wi-Fi access point. Create a network name and password. After connecting your friends' phones to this point, the procedure for starting the game is no different from playing through a regular router.

It is worth considering that when operating in access point mode, the host battery drains much faster. The processor works in enhanced mode, processing both game logic and network traffic. It is recommended to keep the phone connected to charger or have on hand power bank.

Connection type Stability Setup speed Battery consumption
Wi-Fi Router High Fast Low
Access point (Host) Medium Medium Very high
mobile data Low Fast High

When using a hotspot, make sure your mobile data is turned off unless you plan to use it for gaming. Sometimes the system tries to route traffic through the mobile network, which can create addressing conflicts.

โ˜‘๏ธ Preparing for a session through an access point

Done: 0 / 5

Game via mobile data and port forwarding

If your friends are in different cities, a local network will not work. In this case, you must use an outer join. Playing via mobile data or home Wi-Fi with access to world wide network requires Port Forwarding.

Standard port for Mindustry โ€” 6567. In order for friends to connect to your server from the Internet, you need to go to the settings of your home router (usually at 192.168.0.1 or 192.168.1.1). Find the section Port Forwarding or Virtual servers.

Protocol: TCP/UDP

External port: 6567

Internal port: 6567

Internal IP: [IP of your phone]

After setting up port forwarding, your external IP address will become available for connection from anywhere in the world. You can find it out by simply entering the request โ€œmy ipโ€ in your browser. This address must be shared with friends to enter in the field Direct Connect.

โš ๏ธ Attention: If you use the mobile data of a telecom operator, port forwarding is most often impossible due to the operator's use of NAT (CGNAT). In this case, your IP address is not a unique external one, and a direct connection will not work. Use VPN or tunneling services.

Be careful when opening ports. Although Mindustry is a safe game, an open port could theoretically become an attack vector if a vulnerability is found in the game or system. Never give your IP address to suspicious persons in public chats.

What to do if your provider blocks ports?

If your provider does not allow you to open port 6567, try changing it to a non-standard one, for example 25565, and specify the same port in the game server settings via the console or configuration file, if the mobile version allows.

Using third-party applications for tunneling

The most modern and easiest way to play over the Internet without fiddling with routers is to use apps for creating virtual local networks. Applications like ZeroTier or Radmin VPN allow you to combine devices into one network, even if they are located on different continents.

Install the selected application on all devices of the participants. Create a new network in the application on the host phone and get the network ID. Enter this ID on your friends' phones and confirm the connection. Now your phones โ€œthinkโ€ that they are connected to the same Wi-Fi router.

After a successful connection in the tunnel application, launch Mindustry as usual through the tab Local. The game will see other players, since for it they are on the same subnet. This bypasses problems with NAT and dynamic IP addresses of mobile operators.

This method adds a small delay due to traffic encryption and routing through the service servers, but for step-by-step strategies or leisurely construction this is not critical. For dynamic defensive waves, the ping can increase by 20-50 ms.

๐Ÿ’ก

Using ZeroTier or analogues is the golden mean between the complexity of setting up port forwarding and the instability of a direct connection via the mobile data.

Solving common connection problems

Even with proper configuration, problems can arise errors. One of the most common problems is desynchronization (Desync). This happens when players have different versions of the game, or when someone has mods installed that the host does not have. Make sure everyone has a clean version or the same set of mods.

Another problem is โ€œConnection Timed Outโ€. This means that the data packet did not reach the server. Check if the antivirus on the host phone is blocking the connection. Also try changing the connection type from IPv6 to IPv4 in the router settings, since some older implementations of the game do not work well with the new protocol.

If the game crashes immediately after connecting a large number of players, the problem is most likely a lack of memory. Try reducing the map size or the number of enemy waves in the lobby settings. Mobile processors have limitations on the number of simultaneously processed units.

โš ๏ธ Attention: The interfaces of routers and tunneling applications may change with updates. If you cannot find the desired setting, check the official documentation of your equipment manufacturer or current guides in the community.

FAQ: Frequently asked questions about multiplayer

Can I play with friends on iPhone and Android together?

Yes, Mindustry supports cross-platform play. Versions for iOS and Android are compatible with each other, provided that the game version (build number) is identical on all devices.

Why am I being thrown out with the "Invalid Packet" error?

This error means the game state is out of sync. Most often this happens if one of the players installed a mod that changes the balance or content, but the host does not have it. Remove all mods and try again.

How to save map progress when playing with friends?

Progress is saved only on the host device. If the host deletes the card or resets the app without saving, progress will be lost for everyone. Regularly make backups of your save files in a folder /Android/data/io.anuke.mindustry/files/saves.

How many players can connect to the server on a phone?

Technically, the limit depends on the processor power and the amount of RAM. Up to 4-6 people can comfortably play on modern smartphones. With a larger number of players, severe lags and delays in command processing begin.

Do you need Internet access to play over a local network?

No, to play via a Wi-Fi router or access point, you do not need the Internet. It is enough that the devices are connected to the same local network. Turn off the mobile data if you are afraid of traffic consumption.