The multiplayer mode in Terraria opens up completely new horizons for exploring the world, co-op construction and boss battles. However, in order to gather friends in one game, you need to properly configure the network connection, which often causes difficulties for owners of mobile devices. The most common stumbling block is the question of where exactly to find or how to get the correct IP address to run the server on a smartphone.
Unlike the computer version, where the address is often issued automatically or visible in the console, on the platform Android the process requires an understanding of the basics of how local networks work. Without correctly entering your device's digital ID, your friends simply won't be able to connect to your world, even if you're in the same room. Let's look at this process in detail so that you can enjoy the co-op without unnecessary technical problems.
It is worth noting right away that the concept of "IP in the game" can be interpreted in two ways: it is either the address of your device in the local Wi-Fi network, which is needed by friends "on the couch", or an external IP, necessary to connect via the Internet. Errors in choosing the address type lead to endless connection attempts and timeouts. In this article, we will look at both scenarios and provide step-by-step guide for each.
Understanding network addresses in the mobile version of the game
Before moving on to practical actions, it is necessary to clearly distinguish between the types of addressing used in Terraria. When you select the "Host & Play" option, the game attempts to host a local server on your device. To connect to this server within the same apartment or office, friends will need your local IP address. This address usually starts with the numbers 192.168 and is assigned automatically by the router.
The situation changes if you want to play with friends who are in another city or even country. In this case, the local address is useless since it is invisible to the external network. This is where public (external) IPcomes into play, which is a unique identifier for your home Internet on the World Wide Web. It is this set of numbers that needs to be communicated to remote players, having previously configured port forwarding.
It is important to understand the difference between static and dynamic addresses. Most providers issue dynamic IPs, which can change every time the router is rebooted. This means that if you successfully connected today, tomorrow the numbers may change and the procedure will have to be repeated. Usage Android complicates the task because mobile data (3G/4G/5G) is often located behind the operator's NAT, which makes direct connection almost impossible without special tricks.
⚠️ Attention: Trying to connect via mobile data (LTE/5G) without using third-party tunneling apps (for example, Hamachi or Radmin VPN) in 99% of cases are doomed to failure due to restrictions of cellular operators.
The game Terraria on mobile platforms uses standard TCP/IP network protocols. This means that the configuration principles are no different from configuring any other network application. However, the game interface does not display your current address explicitly in the main menu, so you will have to find it through the system settings of the smartphone itself.
How to find the local IP address of an Android smartphone
The most reliable way to get the required address is to go to the system settings of your gadget. The shell interfaces of different manufacturers (Samsung, Xiaomi, Pixel) may differ, but the search logic remains the same. You need to find the section responsible for the status of the current Wi-Fi connection, since it is through a wireless network that local multiplayer is most often organized.
First, make sure that your smartphone and your friends’ devices are connected to the same Wi-Fi access point. Without this condition, the local IP will not make sense to connect. After that, follow these steps to get a digital ID:
- 📱 Open
Settingsyour device and go toConnectionsorNetwork and Internet. - 📶 Click on the name of your active Wi-Fi network or the gear icon next to it to view details.
- 🔍 Scroll down to the item
IP address—there you will see a combination like 192.168.x.x. - 📝 Write down these numbers or take a screenshot to quickly send them to friends in the messenger.
In some versions of Android, detailed information is hidden in the "Advanced" or "Advanced settings" menu inside the network properties window. If you don't see the address right away, look for a button with three dots or a down arrow. You can also use third-party utilities from Google Play, such as Fing or Network Analyzerthat show the address in large font immediately after launch.
Make sure that the “Client Isolation” function is not enabled on the router, which prevents devices on the same network from seeing each other, even if the IP address is specified That's right.
The received address is the key to your local game. Enter it in the "IP Address" field on your friend's device when selecting the "Join via IP" mode. The default port for Terraria on mobile devices is usually 7777, if you did not change it manually in the server settings.
Setting up an external IP and port forwarding for playing over the Internet
If your friends are far away, a simple local address is not enough. You need to configure your router so that it forwards incoming game requests directly to your smartphone. This process is called port forwarding and requires access to the router's admin panel. Without this setting, the outside world will not see your game server.
First you need to find out your external IP. This can be done by simply entering the request “my ip” in a search engine or going to specialized services like 2ip.ru. Remember these numbers, but keep in mind that they may change. Next, you need to go to the router settings by entering its gateway (often 192.168.0.1 or 192.168.1.1) in the browser.
| Setting parameter | Value for Terraria | Note |
|---|---|---|
| Service Name | Terraria_Mobile | Any friendly name |
| External Port | 7777 | Standard game port |
| Internal Port | 7777 | Must match the external |
| Protocol | TCP/UDP | It is better to select both options |
| Internal IP | 192.168.x.x | Your smartphone address |
After saving settings in the router, the server becomes accessible from the outside. Friends must use your external IP and specified port to connect. However, there is a pitfall here: if your provider has a “gray” IP (the provider’s internal address), port forwarding will not work. In this case, you will need to connect to the "Static IP" service from your telecom operator.
What to do if the provider does not provide a white IP?
You can use local network emulator apps, such as Radmin VPN or ZeroTier. They create a virtual network where all participants receive addresses as if they were in the same room, and no port forwarding is required on the router.
Don't forget about safety. By opening ports, you theoretically make the device more vulnerable to scanning. Make sure that an antivirus is installed on your smartphone, and the password for the router’s admin panel is changed from the factory default to a complex one. After the end of the gaming session, it is recommended to disable the port forwarding rule in the router settings.
Creating a server through the console and host settings
In the mobile version Terraria there is no full-fledged dedicated server that runs in the background without the game running. You are using "Host & Play" mode, which means that if you minimize the game or the screen goes dark, your connection with your friends may be lost. For stable operation, it is important to correctly configure the host settings before starting the world.
When creating a new world or loading an existing one for multiplayer, the game will prompt you to configure the session parameters. Here you can set the maximum number of players and, importantly, check the status of the port. In some updates of the mobile version, it became possible to manually specify a port if the standard one 7777 is occupied by another application.
- 🎮 Select a world and press the button
Multiplayer, thenHost & Play. - ⚙️ In the session settings, make sure the "Auto Join" checkbox is checked (Auto-login) is disabled if you want to control the entry of players.
- 🔢 If there is a field for the port, leave
7777unless you have changed the router settings. - 🚀 Click "Start" to start the server and wait for the "Server started" message in chat.
As soon as the server is started, a system notification from Android may appear on the screen asking you to allow access to the local network. Be sure to click "Allow", otherwise the operating system firewall will block incoming connections, and friends will see a connection error, even if all IPs are entered correctly.
☑️ Preparing for game hosting
If you want to play for a long time, it is recommended to connect your smartphone to a charger. Host mode consumes significantly more processor and network module resources, which leads to rapid battery drain and possible throttling (reduced performance) of the device.
Solving common connection errors
Even when entering the IP address correctly, players often encounter error messages. The most popular of them is “Connection Lost” or endless blinking of the connection status. This almost always indicates a firewall problem, incorrect network type, or incompatible game versions.
The first thing to check is the game version. The host and the connecting player must have exactly the same version installed Terraria. The difference of even one minor patch (for example, 1.4.4.9 vs. 1.4.4.8) can lead to an inability to connect. Update the game on Google Play on all devices before trying to connect.
⚠️ Attention: The settings interfaces of routers and mobile operating systems are constantly updated. If you cannot find the described items, check the official documentation for your router model or Android version, as the menu names may differ.
An IP address conflict is also a common problem. If two devices on your network accidentally receive the same local address, the network will be disrupted. Try rebooting the router so that it issues new addresses to all devices, and make sure that you enter the exact address that belongs to the host device, and not your own.
90% of connection problems on the local network are solved by simply rebooting the router and checking that all devices are connected to the same Wi-Fi frequency (2.4 GHz or 5 GHz).
Sometimes resetting the network settings on the smartphone itself helps. This will remove saved Wi-Fi passwords, but will clear possible errors in the Android network step configuration. To do this, go to Settings → System → Reset settings → Reset Wi-Fi, mobile data and Bluetooth settings.
Features of playing through emulators and virtual networks
For those who are faced with provider restrictions or port forwarding difficulties, apps for creating virtual private networks (VPN) like Hamachi, Radmin VPN or ZeroTierare an excellent solution. These applications create a secure tunnel between devices, making them “think” that they are on the same local network, regardless of the real one.
Using such solutions allows you to play over the Internet without the need to have a static white IP. All participants install the same application, create a common network and enter the virtual IP addresses obtained there in the connection field Terraria. This often works more stable than direct port forwarding, especially on mobile connections.
However, it is worth considering the latency (ping). Because traffic passes through additional network emulator servers, latency may be higher than with a direct connection. For dynamic boss battles this may be critical, but for world exploration and construction it is quite acceptable. Choose the emulator server that is geographically closest to you and your friends.
When using virtual networks, make sure that the application has permission to create VPN connections on the Android system. This is usually requested upon first launch. Also, do not forget that such apps can consume additional traffic and battery power, so monitoring device resources becomes even more important.
Frequently asked questions (FAQ)
Why do friends see my server in the list, but cannot connect?
This is a common problem of version or firewall incompatibility. Make sure everyone has the same version of the game installed. Also check if the antivirus on the host phone is blocking incoming connections for Java or the Terraria application itself.
Is it possible to play Terraria on Android and iOS together?
Yes, cross-platform play between Android and iOS is supported in modern versions of Terraria. The main condition is the same version of the game on both types of devices and the correct network connection.
Which port to use if 7777 does not work?
You can change the port in the host settings when creating a world. If you change it, for example, to 8888, then friends must enter the address in the format "IP:8888". Don't forget to also change the port forwarding rule in your router to a new value.
Why does the game crash when trying to create a server?
This may be caused by a lack of RAM or corruption of the world files. Try creating a new test world to test. If the problem persists, clear the application cache in the Android settings or reinstall the game.
Do you need root access to set up a server on Android?
No, root access is not required. All necessary network settings, including obtaining an IP and managing connections, are available in the standard Android interface and through the router settings.