⑩ 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.

Port forwarding is not working for me!?

If port forwarding is done after the server is running, you need to restart the server.

If you have properly configured port forwarding but still no one can connect to it, then double-check whether your ISP uses CGNAT.

If that is the case, port forwarding will not take effect. Contact your ISP for an opt-out whenever possible.

An alternative is to host a LAN server over a o that your friends can join!

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 .

  1. Log in to the game.

  2. Click MULTIPLAY.

  3. Click LOCAL.

  4. In the CREATE tab, configure the server settings and click START SERVER.

  5. 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.

  1. 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​

  2. Go to https://www.whatismyip.com/ to view your public IP address. Tell the IP address to your friends.

  3. Log in to the game.

  4. Click MULTIPLAY.

  5. Click LOCAL.

  6. 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.

  1. the following ports to your server's local IP address in your wireless router control panel: 29900 - 29900 UDP or Both 17567 - 17567 Both​

  2. Use file explorer to navigate to C:\Users\xxxxx\Documents\Battlefield 2142\Profiles.

  3. Open Global.con using a text editor.

  4. Look for the line that begins with GlobalSettings.setDefaultUser. If its value is 0001, open the folder 0001.

  5. In the folder, open ServerSettings.con using a text editor.

  6. Look for the line GameServerSettings.setInternet 0. . Save the file.

  7. Go to https://www.whatismyip.com/ to view your public IP address. Tell the IP address to your friends.

  8. Log in to the game.

  9. Click MULTIPLAY.

  10. Click LOCAL.

  11. In the CREATE tab, configure the server settings and click START SERVER.

  12. 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