To create a local server or connect to friends on Terraria on mobile devices, it is critical to know your network address. Many users encounter difficulties when trying to organize a game over Wi-Fi, since the standard game interface does not display this data directly.

Understanding that how to view the IP address in Terraria on Androidopens access to full multiplayer without using third-party tunneling services. In this manual, we will look at not only how to obtain an address, but also the nuances of setting up a router, which are often ignored by beginners.

It is worth noting right away that Terraria on Android uses the standard network protocols of your operating system. This means that the one you need local IP is located in the settings of the smartphone or tablet itself, and is not hidden deep in the game files.

Differences between local and external addresses

Before you start setting up, you need to clearly differentiate the concepts. When you want to invite a friend playing with you in the same apartment through the same router, you need local IP address. It usually starts with the numbers 192.168 or 10.0.

If your friend is in another city or connected via mobile data, he will need yours external (public) IP. In this case, simply knowing the address is not enough - you will need to configure port forwarding on the router.

A common mistake is that users try to connect to an external address while on the same Wi-Fi network. This results in a connection timeout or inability to find the server in the list.

๐Ÿ’ก

To play on the same network, always use a local address in the format 192.168.x.x. An external address is only needed to connect from the Internet.

โš ๏ธ Attention: The external IP address may change every time you reconnect to the provider if you do not have a static address service connected.

Finding an address through the Android settings

The most reliable way to find out the necessary data is to contact the system settings of your device. The interface may differ slightly depending on the version Android and the manufacturer's shell (Samsung One UI, Xiaomi MIUI, etc.), but the logic remains the same.

Go to the menu Settings of your smartphone and select section Connections or Network and Internet. Next, go to item Wi-Fi. Here you will see a list of available networks and the one you are currently connected to.

Click on the name of your active network or on the gear icon next to it. A detailed menu will open, where the item IP addresswill be indicated in the "Network information" or "Advanced" block. Write down these numbers.

  • ๐Ÿ“ฑ On Samsung devices, the path often looks like this: Settings โ†’ Connections โ†’ Wi-Fi โ†’ (gear) โ†’ View.
  • ๐Ÿค– On pure Android: Settings โ†’ Network and Internet โ†’ Wi-Fi โ†’ (gear) โ†’ Advanced.
  • ๐Ÿ“ก On Xiaomi: Settings โ†’ Wi-Fi โ†’ Click on the arrow next to the network name.
๐Ÿ“Š What version of Android do you have?
Android 10 and below
Android 11-12
Android 13-14
I donโ€™t know

Using third-party utilities

If the standard menu seems too confusing to you or the information is not displayed correctly there, you can use specialized applications from Google Play. They provide more detailed information about the network environment.

One โ€‹โ€‹of the best solutions is the application Fing or WiFi Analyzer. Once installed and launched, these utilities instantly scan the network and provide a complete list of connected devices, including your smartphone, indicating the IP, MAC address and manufacturer.

This approach is especially useful if you are not sure which device is the server host on your home network. You can see all the gadgets and select the one you need.

Example output in the Fing application:

Device: Samsung Galaxy S21

IP: 192.168.1.45

MAC: AA:BB:CC:11:22:33

Manufacturer: Samsung Electronics

Why do you need a MAC address?

MAC address is a unique identifier for a network interface. It is used by the router to bind a permanent IP address to a specific device, which prevents it from changing after a reboot.

Setting up a static IP for the server

For stable operation of the Terraria server, it is extremely important that the address of your phone does not change. By default, routers issue addresses dynamically (DHCP), and after rebooting the smartphone, the numbers may change, which is why friends will not be able to connect.

To secure the address, return to the Wi-Fi settings on your phone. In the advanced parameters, find the setting IP settings and switch it from DHCP to Static (Static).

In the fields that appear, you will need to enter the data manually. Leave the IP address field current or change the last digit to a larger one (for example, from .15 to .150) to avoid conflicts. The gateway and network prefix length are usually set automatically.

Parameter Example value Description
IP address 192.168.1.150 Unique address of your phone
Gateway 192.168.1.1 Address of your router
Prefix length 24 Subnet mask (usually 24)
DNS 1 8.8.8.8 Google Name Server

โ˜‘๏ธ Static IP check

Done: 0 / 5

Forward ports for playing via the Internet

If you plan to play with friends who are not on your local network, a simple IP knowledge is not enough. You need to configure port forwarding (Port Forwarding) in the interface of your router.

Terraria uses the default port 7777 for incoming connections. Go to the router control panel (usually at 192.168.1.1 or 192.168.0.1), find the Virtual Server or Port Forwarding section.

Create a new rule: specify the internal IP address of your smartphone (which you recorded earlier), protocol TCP/UDP and port 7777. After saving the rules, the server will become visible from the external network.

โš ๏ธ Attention: The interfaces of routers from different manufacturers (TP-Link, Asus, Keenetic) are very different. The exact menu names may vary.

Start and check the server in the game

After all the network settings, you can proceed to the game itself. Run Terraria on the device that will act as the host. In the main menu, select Multiplayer, and then Host and game.

Create a new world or select an existing one. In the server settings, make sure that the correct port is specified (7777) and a password is set if you want to restrict access to third parties. Press the start button.

Now other players can select the item Join via IP and enter your address. If you are on the same network, enter the local IP; if on different networks, enter the external IP, which can be found by searching โ€œmy ipโ€ in the browser.

๐Ÿ’ก

The success of the connection is 90% dependent on a correctly configured static IP and open port 7777 on the router.

Solution common problems

Even with correct settings, connection errors may occur. The most common problem is "Lost Connection" or endless waiting. This is often due to the Windows Firewall (if one of the players is on a PC) or the power saving settings on Android.

Make sure your phone doesn't have power saving mode enabled, which could limit background network activity. Also check that all devices are in the same Wi-Fi frequency band (preferably 5 GHz for stability, but 2.4 GHz is more compatible).

Sometimes rebooting the router after setting a static address helps. If all else fails, try temporarily disabling the antivirus or firewall on the clientโ€™s device.

Why canโ€™t the game see the server via local IP?

Most often, devices are connected to different guest networks within the same router or the โ€œAP Isolationโ€ function is enabled in the Wi-Fi settings. Disable it in the admin panel of the router.

Is it possible to play via mobile data without Wi-Fi?

Yes, if you distribute the Internet from one phone to another via an access point. In this case, the distributing phone will have a local address (usually 192.168.43.1), which must be entered to connect.

Which port to use if 7777 is busy?

You can change the port in the game host settings to any free one (for example, 7778). The main thing is to specify the same port number when connecting through the "Join via IP" menu.

Does the version of Terraria affect the connection?

Yes, critically. The game versions of the host and all connecting players must match completely. Update the game on Google Play before trying to connect.

What to do if the external IP is constantly changing?

You need to configure DDNS (Dynamic DNS) on the router. This will allow you to link your changing address to a permanent domain name, which will not change even after rebooting the modem.