How to find your Unturned server IP address

How to Join your Unturned Server

Last modified on May 13, 2022 in unturned

How to find your Unturned server IP address
By Dalton Whalen

  • Facebook
  • Twitter
  • Youtube

Overview

In the world of Unturned, you are a survivor in a zombie-infested world, with little remnants of society. As you salvage for resources, warmth, and other tools, you will need to defend yourself from the hordes of zombies that await you. While Unturned is playable by yourself, you are also able to play with friends or other players online using a dedicated server. Learning to join an Unturned server can be confusing if you are new to the game, so we have created this Apex Hosting guide to ease you through the process.
 

Locating your Server IP

  1. Navigate to your Apex Server Panel.
  2. Scroll down to the “IP Address:Port” section.

    How to find your Unturned server IP address

  3. Make note of this server address.
  4. Separate the IP Address:Port into two separate numbers.
  5.  
    e.g. If the server IP is 51.81.48.164:25612, it will be separated into:

    IP – 51.81.48.164
    Port – 25612

  6. Keep track of these two numbers, as they will be needed shortly.

 

Joining In-Game

  1. Launch Unturned, then select “Play” from the main menu.
  2. From here, select “Connect”.

    How to find your Unturned server IP address

  3. In the first field, enter your server IP, then the Port in the second field.

    How to find your Unturned server IP address

  4. Finally, enter a password if one is set for your server.
  5. Once ready, press “Connect”, then press “Join” when your server appears.

    How to find your Unturned server IP address

 
You should now join your Unturned server and be ready to play!
 

Common Issues

Nothing happens when I press “Connect” in-game:
Generally, this means that the game is unable to connect to the server. There are many reasons that this may occur. First, ensure that you are entering the IP and Port separately and that they are entered correctly. Otherwise, make sure that your Unturned server is online and functional.

Start Your Unturned Server

Get started with your own unturned server in 5 min and start trying out these great features.

Checkout More Info



Please enable JavaScript to view the comments powered by Disqus.

How to find your Unturned server IP address

Rent you own prepaid Unturned Server on nitrado.net

Direct connection to an Unturned server is possible with the following steps:

  • Start the Game
  • Click the "Play"
  • Click the "Connect"
  • In the first field, specify the server IP that is issued in the dashboard (Web Interface)
  • In the second field, specify the server port that is issued in the dashboard (Web Interface)
  • Optional: In the third field, specify the server password specified in the configuration file (Commands.bat)
  • You can then connect to the server. Connect to Unturned Server
  • In the top bar, select “View”, scroll down a bit and select “Servers”. A new window will open
  • In the top bar, you should be in the "Favorites" option.
  • In the lower-right corner, select "Add Server". A small window will open requesting an IP.
  • Locate the IP address of your server:
    • Navigate to your web interface
    • On the left side, locate the server's IP address as shown below:
    • Add the Query Port to the server's IP address. For instance:
    • IP address: 95 .156.194.207: 40000
    • IP + QueryPort: 95 .156.194.207: 40001
  • Copy the IP + Query Port in the field and select "Add this address to favorites"
  • Now your server will be in the Favorites list, select it (it will light up with a blue background)
  • You can now close this window.
  • Open your 'Unturned' game and go to Play.
  • Select the option "Servers".
  • Select the Favorites tab. Your server should appear on the right side.
  • Select your server and click join.

A Dedicated Server is a method of hosting an Unturned server that does not require the host to be an active player in the game. The host can choose to play on the server, or just leave it running in the background while others play on it. Unlike a Local Server, port forwarding is required. Servers are hosted with the Unturned Dedicated Server app.

A Dedicated Server also allows for vastly increased versatility in configuration of the server. Many server options become available through the Commands.dat, Config.json, server console, and other configuration files.

Contents

  • 1 Windows Setup:
    • 1.1 Shortcut Method (pre-3.20.12.2 only)
    • 1.2 Classic Setup:
  • 2 MacOS Setup:
  • 3 Linux Setup:
    • 3.1 New Guide
    • 3.2 Headless Guide
    • 3.3 File installation
    • 3.4 Running the server
  • 4 Configuring your Server:
    • 4.1 Setup Commands
    • 4.2 Command Line Options
    • 4.3 Config.json file
  • 5 Connecting:
  • 6 Firewall
  • 7 Port Forwarding:
  • 8 Optional Server Improvements

Windows Setup:

Shortcut Method (pre-3.20.12.2 only)

The deprecated shortcut method for creating servers only works for versions of the game prior to 3.20.12.2, which had been released on October 14, 2020. Newer versions of the game should only be hosted through the Unturned Dedicated Server app.

How to Host a Dedicated server on Unturned Version 3.0 Above

  1. Right-click the "Unturned.exe", hover the mouse over "Send To", and click on "Desktop (create shortcut)".
  2. Right-click on the shortcut and select "Properties". The "Target:" field should contain the path to Unturned.exe and should look something like this:
    "C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe"
  3. Now, at the end of the string of text, insert this string of text:
     -nographics -batchmode +secureserver/... 
... is whatever you want to name your server.

An example of a finished "Target" field:

"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -nographics -batchmode +secureserver/My server 
4. Finally, run the server. A black console screen should appear.5. Optional: You can easily update an existing Unturned server by using the following method:

The following text string will create a shortcut that will automatically update your server. This example assumes that you installed your server through SteamCMD, which does not update Unturned automatically.

"C:\SteamCMD\steamcmd.exe" +login Username Password +app_update 304930 +exit

Classic Setup:

Unturned - how to create a dedicated server! (and how to join it)

  1. From the Steam window, right-click the Unturned game in your Library and select "Properties".
  2. Click in the "Local Files" tab.
  3. Click "Browse Local Files...".
  4. In the explorer window, right-click the "Unturned.exe", hover the mouse over "Send To", and click on "Desktop (create shortcut)".
  5. Right-click on the newly created shortcut and select "Properties". The "Target:" field should contain the path to Unturned.exe and should look something like this:
    "C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe"
  6. In order for the server to run, you need to add add options to the end of the field. For example, if you wanted the server to be PvE, you would add the -pve option to the end of the field. A complete list of options is found at the bottom of the page.
  7. An example of a finished "Target" field:
    "C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -port:25444 -players:20 -nographics -pei -gold -nosync -pve -sv

To finish, simply apply changes to the shortcut and double-click it to run it. The game should run and then immediately go to a gray screen. This screen means the server is running fine. If your screen doesn't go gray and the server does not work, make sure you put the -sv option at the end of your options, otherwise the server may not work.

MacOS Setup:

  1. From the Steam window, right-click the Unturned game in your Library and select "Properties".
  2. Click in the "Local Files" tab.
  3. Click "Browse Local Files...".
  4. Optional: Go back to Common, duplicate the Unturned folder, paste it in Common and name it Unturned Server)
  5. In the Finder window right click on Unturned
  6. Select Show Package Contents
  7. Select Contents
  8. Select MacOS
  9. Open up terminal
  10. Then drag the Unturned executable into the terminal window (this will paste the path of the application)
  11. Press space, then add in your parameters (this is the same as step 3 of Windows 3.0.0 setup, except that the program will be referred to as Unturned.app instead of Unturned.exe)
  12. Then press enter to execute the command.

With Unturned 3.0, the procedure is exactly the same, but after the parameters, you need to add: +secureserver/servername

Replace "secureserver" with "lanserver" if you want a LAN server instead. Replace "servername" with what you want to name your server.

Now, if you want to double-click to start the server, in TextEdit (Located in Applications), paste the same command you just ran (hopefully testing it first), then save it as "StartServer.command". Make sure it doesn't add .txt or .rtf to it.

Linux Setup:

New Guide

Install Unturned.

Go to the install folder and right click and press open in terminal.

press the following

./Unturned.XX -nographics -pei -normal -nosync -pve -players:16 -sv

Replace XX with the name of the architecture (x86 if you have a 32 bit computer, x86_64 if 64 bit)

example:

./Unturned.x86_64 -nographics -pei -normal -nosync -pve -players:16 -sv

Headless Guide

Note: This is mainly for computers without a GUI (graphical user interface), or if you only have access to the terminal/command line. If you use a VPS with only SSH/PuTTY access, go right ahead! If you are using a GUI, the above option might be better for you, however you might have some slight memory benefits using this method.

Install your OS of choice, whether it be Ubuntu Server/Debian or Fedora Server/RHEL/CentOS. After that, update your OS and your repositories. You know you are in the shell when you see a $ or an # at the end of the line.

To update in Fedora, use

sudo dnf update

while on Ubuntu, use

sudo apt-get update && sudo apt-get upgrade && sudo dpkg --add-architecture i386

The "Add Architecture" is only needed once; to update your system, only the other two is required afterwards.

If on Fedora, you do not have access to dnf, try using yum instead.

Now for installing the libraries. On Fedora, run

 -nographics -batchmode +secureserver/... 
0

Hint: Adding -y to the command (sudo dnf -y ...) will automatically say yes to every prompt. Use it here to avoid having to type yes to every statement, you should only use this if ypou are sure your machine is configured correctly, as you may want to see dependencies for every package, and their size.

If you have an Nvidia GPU, also use

 -nographics -batchmode +secureserver/... 
1

If you only have an Intel Graphic Chipset, or you don't know what graphics you have, use

 -nographics -batchmode +secureserver/... 
2

For Ubuntu, type each individual line, then hit return. You should have typed in four statements.

 -nographics -batchmode +secureserver/... 
3

If your Fedora/Redhat server throws an architecture error, try adding --setopt=protected_multilib=false to resolve the issue temporarily.


At this time, you will need a steam account. To avoid conflict, create a new dummy Steam account with Unturned added to its library.

There are a lot of things to say here, but I recommend creating a new user similar to the instructions in the old guide. Look at the "Running the Server" part, and ONLY do the first step (two commands).

Most of these steps are going to be the same for Ubuntu/Fedora/Debian/RHEL/CentOS, unless said.

First, let's create some folders and download SteamCMD.

 -nographics -batchmode +secureserver/... 
4
 -nographics -batchmode +secureserver/... 
5
 -nographics -batchmode +secureserver/... 
6
 -nographics -batchmode +secureserver/... 
7

We need the RocketLauncher to start the server, so we will download it.

 -nographics -batchmode +secureserver/... 
8
 -nographics -batchmode +secureserver/... 
9
"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -nographics -batchmode +secureserver/My server 
0
"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -nographics -batchmode +secureserver/My server 
1
"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -nographics -batchmode +secureserver/My server 
2

If you want RocketMod on your server as well:

"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -nographics -batchmode +secureserver/My server 
3

You may now remove any excess files, other than start.sh, update.sh, unturned/, steamcmd/, or Steam/.

Now, using an editor of choice (Vi or Nano), open update.sh.

"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -nographics -batchmode +secureserver/My server 
4

Here is where your Steam account that you created earlier is used. Put the username and password in there. If you want to keep your password private, keep the password string blank.

Now you're done!

"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -nographics -batchmode +secureserver/My server 
5
"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -nographics -batchmode +secureserver/My server 
6

File installation

A short-term testing method is to use WinSCP or a similar SFTP software to transfer the entire Unturned folder over to the Linux server. The folder is likely located in C:\Program Files (x86)\Steam\SteamApps\common\. The problem with this option is that you must update the server files with WinSCP every time an update is released.

A better option is to use SteamCMD, which is a light-weight Linux Steam client that downloads and updates the required Unturned files.

  1. Download steamcmd to the server
    "C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -nographics -batchmode +secureserver/My server 
    7
  2. Unzip it:
    "C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -nographics -batchmode +secureserver/My server 
    8
  3. Start SteamCMD:
    "C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -nographics -batchmode +secureserver/My server 
    9
  4. Login to a Steam account:
    "C:\SteamCMD\steamcmd.exe" +login Username Password +app_update 304930 +exit
    
    0
  5. Define an installation directory:
    "C:\SteamCMD\steamcmd.exe" +login Username Password +app_update 304930 +exit
    
    1
  6. Download the game to the dedicated server. "app_update 304930" also updates the files of the force_install_dir you pointed at.
    "C:\SteamCMD\steamcmd.exe" +login Username Password +app_update 304930 +exit
    
    2

Running the server

  1. Starting from root, add a user:
    "C:\SteamCMD\steamcmd.exe" +login Username Password +app_update 304930 +exit
    
    3
    "C:\SteamCMD\steamcmd.exe" +login Username Password +app_update 304930 +exit
    
    4
  2. Log in using the new user:
    "C:\SteamCMD\steamcmd.exe" +login Username Password +app_update 304930 +exit
    
    5
  3. Install wine and xinit:
    "C:\SteamCMD\steamcmd.exe" +login Username Password +app_update 304930 +exit
    
    6
  4. Configure X to allow Anybody to start it:
    "C:\SteamCMD\steamcmd.exe" +login Username Password +app_update 304930 +exit
    
    7
  5. Start X (headless style):
    "C:\SteamCMD\steamcmd.exe" +login Username Password +app_update 304930 +exit
    
    8
    "C:\SteamCMD\steamcmd.exe" +login Username Password +app_update 304930 +exit
    
    9
  6. Move to a different shell in tmux:
    "C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe"
    0
  7. Tell WINE to use the headless X session:
    "C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe"
    1
  8. Start the Unturned server:
    "C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe"
    2

Configuring your Server:

Setup Commands

Note: You may have to open the .dat files in a text editor.

Type shutdown in the console. Go back to the Unturned directory. Now click on Servers, then you should see a folder, with the name of your server. Click on that folder. Click on the sub-folder Server. There should be 4 .dat documents, labeled Adminlist, Blacklist, Commands, and Whitelist.

Use the Commands file if you want to run list of commands that will run each time the server starts. Use a separate line for each command.

The Setup Commands are as follows:

  • Bind - Binds your internal IP to the socket. (Internal IP is the network adapter IP of the adapter you use)
  • Chatrate - Assigns the minimum amount of time between chat messages in order to prevent spam.
  • Cycle - Assigns the day/night cycle in seconds.
  • Decay - Assigns the amount of time a player, or their group members, can be offline before their structures can be removed by anyone. Default is 604800. (7 days)
  • Filter - Enables the old name filter.
  • Loadout - Assigns what all players spawn with. The first number value in the loadout is the Skillset ID. (Example: Loadout 255/15/15/81/81/18/20/20/121 - Gives all skillsets 2 Medkits, 2 MREs, a Timberwolf, 2 Timberwolf Magazines, and a Military Knife.)
  • Log - Enables/Disables [chat]/[join&leave]/[death]/[anticheat] messages. (Y = Yes, N = No) (i.e. Log Y/Y/Y/Y)
  • Map - Sets the map that will be used for the server. If you want to use a workshop map, the workshop map folder must be placed in the Workshop folder of the server, otherwise it will fail to load the map.
  • MaxPlayers - Sets the max amount of players the server will allow.
  • Mode - Sets the difficulty mode. (Easy, Normal, Hard)
  • Name - Sets the server's name. (i.e. Nelson's Server)
  • Owner - Sets the server's owner, which gives them administrator commands and fully sets up the server. (Requires your Steam 64 ID.)
  • Password - Sets a password to the server to keep out unwanted guests, making the server more private.
  • Perspective - Assigns the perspective views. (First, Third, Vehicle, Both.) First allows only first-person, third allows only third-person, Vehicle allows third-person only when the player is in a vehicle, and both allows changing between first and third-person views freely.
  • Port - Sets the server's port. The default port is 27015. This command does not need to be used if the server is hosted under the default port range.
  • PvE - Sets the server to only allow Players VS Environment combat.
  • Sync - Syncs player data between servers using the same key.
  • Timeout - Sets the max Ping for players before they time out. (400~600 is recommended)
  • Welcome - Sets the welcome message. (i.e. Welcome Welcome to Nelson's Server!)

Command Line Options

These parameters are used in launching the server from a command line interface. The order of inputted commands do not matter.

  • Map:
    • -arena
    • -pei
  • Gamemode:
    • -bambi
    • -normal
    • -hardcore
    • -gold
  • Sync Setting:
    • -sync
    • -nosync
  • PVP/PVE Setting:
    • -pvp
    • -pve
  • Misc:
    • -pass:[PASSWORD]
    • -port:[PORT NUMBER]
    • -players:[PLAYER MAX]
    • -nographics (This command is needed to not see the welcome screen. Instead you see a black screen with no GUI.)
    • -sv (needs to be at the end of the parameters)
    • -batchmode (prevents the game from launching a GUI, and makes it run as a background process. Greatly reduces CPU usage)

Config.json file

Main article: Gameplay Config

The Config.json file offers a lot of control over the actual server gameplay. It is located in:

"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe"
3

It can be edited in the same manner as the commands.dat file. It is in JavaScript Object Notation format, meaning that it is a simple list that connects one string to a variable. In more simple terms, you should only edit text that is within "quotation marks" and after a : colon. Any value that is before the colon is specific to the game and it WILL break your server if you change it.

  • Browser
    • Icon - the file path to the server's icon to be shown on the Server page
    • Thumbnail - Similar to the Icon, but to be shown when you select the server
    • Desc_Hint - Text to be shown when you hover over the server in the server list
    • Desc_Full - The full description of the server
    • Desc_Server_List -
  • Server
    • VAC_Secure - Should the server require Valve (Through steam) Anti-Cheat? (true/false)
    • BattlEye_Secure - Should the server require BattlEye Anti-Cheat to be running? (true/false)

Connecting:

You should now be able to connect to your own server by running the game through Steam. To do this, click "Play", and then "Connect", and in the IP field, type "localhost", then click "Connect" to join your own server.

If you fail to connect to your own server, try installing SteamVR (found under tools in Steam).

Note: Other players will not use "localhost", only you will. Other players will use your EXTERNAL IP to connect to your server. Find your external IP by visiting a site such as WhatIsMyIP.

Firewall

If you have correctly set up your server and can't even connect to it, you might want to check if your firewall is blocking the port. On Windows, it shouldn't be that hard; open Control Panel, Security, and click "Allow a Program". Here, you can choose the Unturned application, and voila!

For MacOS, open System Preferences. Go to Security and Privacy, Firewall, then unlock the settings via the padlock at the bottom left of the window. Next, go to Firewall Options, scroll down the list, click on Unturned, and on the right of it, make sure it says "Allow incoming connections". If not, click on it, and choose that option. Close the window, making sure to apply settings, padlock the settings, and you're done!

For Fedora/CentOS/RHEL:

"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe"
4
"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe"
5

For Ubuntu/Debian:

"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe"
6
"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe"
7
"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe"
8

For both, if you selected a different port via the start command or Commands.dat, change the first number to the port you selected, and the second port two ports ahead (ex. 27040-27042).

Port Forwarding:

NOTE: Port Forwarding has to be done carefully. Nobody will be able to connect to your server if you do this incorrectly.

In order for anyone to access the server you've set up, you need to go into your router's settings and open the server's set ports.

You will need the following information which can be retrieved from your router (usually a sticker on the side):

  1. Your default gateway address
  2. Your gateway username (NOT your network name/SSID)
  3. Your gateway password (NOT your network password)
  4. Your local IP address

To find your local IP address, follow these steps (Windows):

  1. Open the Command Prompt (Type "cmd" into the search bar).
  2. Type "ipconfig" and press Enter.
  3. Find the heading that says "Wireless LAN Adapter Wi-Fi" or "Ethernet Adapter Ethernet."
  4. Under that heading, find the line that says "IPv4 Address."
  5. Write down the number on that line and label it "Local IP."

Follow the steps below (these might not be the exact field names, you will have to look for something similar in context):

  1. Open any internet browser, and type your default gateway into the address bar, then hit enter.
  2. Find a section for Port Forwarding.
  3. Click the option that allows you to add a new port, or rule.
  4. Under a "Service name" or "Rule name," type a name that will identify it as port forwards for Unturned.
  5. For the "Protocol," choose "UDP".
  6. Under "External Starting Port", type the number you wrote down earlier, labeled "Server Port".
  7. Under "External Ending Port", type your External Starting Port number, plus 2. With the default port, this would be 27017.
  8. The external and internal ports should match.
  9. Under the "Internal IP Address" box, type the number you wrote down earlier, labeled "Local IP".
  10. Save and apply changes afterwards.

Below is an example of a completed port forwarding rule.

Field NameField ValueRuleUnturnedProtocolUDPExternal Starting Port27015External Ending Port27017Internal Starting Port27015Internal Ending Port27017Internal IP Address Box192.168.1.150

If you are unable to locate these things, try checking https://portforward.com/router.htm to see specific instructions for your router.

Alternatively, you can put your hosting system into the DMZ. This opens all ports and is an option if for some reason normal port-forwarding fails. Putting your system into the DMZ opens up numerous security vulnerabilities and should only be used as a last resort!

How do I find my Unturned server?

Joining a Hosted Server (Tunngle).
Log into Tunngle..
Type in "unturned" in the search bar..
Connect to a lobby. If you and your host are in the same lobby, this allows you to easily join servers by just typing in the IP and port..
Type in the IP and port the Host told..
Connect..

How do you enter an IP address in Unturned?

Joining In-Game.
Launch Unturned, then select “Play” from the main menu..
From here, select “Connect”..
In the first field, enter your server IP, then the Port in the second field..
Finally, enter a password if one is set for your server..
Once ready, press “Connect”, then press “Join” when your server appears..

Why can't I join my friends Unturned server?

Make sure that you share the same server location (Frankfurt, for example), or you can join them directly from your friends list. On PlayStation 4, navigate the server browser to find the name of the server that your friend created.

How do you make a multiplayer server on Unturned?

Here's what you need to do:.
Open Unturned..
Select “Play Online.”.
Select “Create Server.”.
Follow the instructions in the menu to create an Unturned server to use to play with your friends..