⑩ Host a Server
This tutorial will guide you through the steps to host a server.
Port forwarding is only required for WAN servers.
Only servers are required to do port forwarding.
A server becomes a modded server if the server hoster launched the game with a mod.
In this tutorial, you will learn how to host a simple server in-game. However, there are always some bad things behind something that is quick and easy to set up:
There are game settings available for you to configure.
The server hoster has to be as well.
That's why for a production server, you will need to host it with a dedicated server client. But this quick setup method should already be sufficient for most of the use cases.
Hosting a LAN Server
A local server is a game server that appears on the local server browser and is accessible within a LAN network.
This option is most suitable for hosting a game party for your family within your home network, or with your friends across the internet through the use of .
Log in to the game.
Click MULTIPLAY.
Click LOCAL.
In the CREATE tab, configure the server settings and click START SERVER.
You will be able to see your server's local IP address on the loading screen while the server is launching (i.e., on loading / briefing screen).
Hosting a Private WAN Server
A private WAN server is a game server that does not appear on the online server browser but is still accessible over the internet if you know its public IP address.
This option is most suitable for hosting a game party with your friends without the need of using any virtual LAN solutions.
the following ports to your server's local IP address in your home router's control panel:
29900 - 29900 UDP or Both 17567 - 17567 Both
Go to https://www.whatismyip.com/ to view your public IP address. Tell the IP address to your friends.
Log in to the game.
Click MULTIPLAY.
Click LOCAL.
In the CREATE tab, configure the server settings and click START SERVER.
LAN players can still join your server using your local IP address (such as your family members) while WAN players (such as your friends in another area) can join your server using your public IP address. This only applies when you have properly set up port forwarding.
Hosting a Public WAN Server
A public server is a game server that appears on the online server browser and is accessible through the Internet.
Since the server is visible on the browser, you will be on the Internet to join your game.
the following ports to your server's local IP address in your wireless router control panel:
29900 - 29900 UDP or Both 17567 - 17567 Both
Use file explorer to navigate to C:\Users\xxxxx\Documents\Battlefield 2142\Profiles.
Open Global.con using a text editor.
Look for the line that begins with GlobalSettings.setDefaultUser. If its value is 0001, open the folder 0001.
In the folder, open ServerSettings.con using a text editor.
Look for the line GameServerSettings.setInternet 0. . Save the file.
Go to https://www.whatismyip.com/ to view your public IP address. Tell the IP address to your friends.
Log in to the game.
Click MULTIPLAY.
Click LOCAL.
In the CREATE tab, configure the server settings and click START SERVER.
Now your server should show up in the online server browser.
To check whether your setup is correct, you may press the Esc button in-game and go to the server browser. Your server should show up there.
If port forwarding is not configured properly on the server side, you will still see the server on the list, but no one else will be able to join it.
LAN players can still join your server using your local IP address while WAN players can join your server using your public IP address.
Last updated