Setting up a server for the Farming Simulator 22 Epic Games version differs slightly from the standard server process. This guide walks you through the steps with a focus on the specifics of the Epic Games version.
Before you start, make sure your setup meets the following requirements:
- Operating System: Windows Server 2016/2019 (64-bit)
- CPU: At least 4x 2.4 GHz (AMD/Intel)
- RAM: At least 4GB (DDR3/4)
- Disk Space: At least 50GB free (SSD or better recommended)
- Epic Games Account: An Epic Games account with Farming Simulator 22.
You cannot use the same Epic Games account to host and play on the server. This means you need a second copy of the game on a different account if you want to play on the server.
First, connect to your server via Remote Desktop (RDP). If you need help, see our First Access (RDP) guide.
After connecting, you must install an important prerequisite: Microsoft Visual C++ Redistributable, which you can download from the Microsoft website. Follow the on-screen instructions to complete the installation.
The C++ Redistributable tools might already be installed. If the installer shows an error, you can safely ignore it and continue.
Next, install the Epic Games Launcher, downloadable from the Epic Games website. Follow the on-screen instructions here as well.
After installation, the launcher will likely download additional files and updates before starting.
Once the launcher opens, sign in with your Epic Games account that owns Farming Simulator 2022.
In the Epic Games Launcher, click the Library tab and find Farming Simulator 22. Click the Install button and choose the location where you want to download the game.
Wait until the download and installation finish. Download speed depends on your server’s bandwidth.
After installation, return to the Library tab in the Epic Games Launcher. Find Farming Simulator 22, click the three dots next to it, and select Manage.
Scroll down to the Launch Options section and enable it. Enter -server in the text field and close the menu.
You can now start Farming Simulator 2022 via your Epic Games Launcher or desktop shortcut. The game should launch in Dedicated Server mode through a command prompt (CMD). If not, check that you set the launch option correctly.
Farming Simulator 22 Dedicated Server offers a web interface you can enable for your server. This is optional but very useful for adjusting settings and accessing more information. We recommend enabling it.
Before proceeding, make sure to stop the server by closing the command prompt. This prevents changes in this step from being overwritten.
Navigate to your game’s installation path, usually C:\Program Files\Epic Games\FarmingSimulator22 if you chose the default folder.
Find the file dedicatedServer.xml in the main directory and open it with a text editor like Notepad.
Set the admin username and password by adjusting the corresponding fields:
<initial_admin>
<username>admin</username> <!-- Username -->
<passphrase>your_password</passphrase> <!-- Password -->
</initial_admin>
Save and close the file. Then start dedicatedServer.exe in the same directory.
You should now be able to access the web interface by opening http://[your_server_ip]:8080 in your browser. Replace [your_server_ip] with your server’s IP address. If you are on the server itself, you can also use http://127.0.0.1:8080.
Due to the special setup of the Epic Games version, the web interface may not be fully functional. You can change settings and stop the server but cannot, for example, start it via the web interface.
If issues occur, first stop dedicatedServer.exe, then start Farming Simulator 22 directly to ensure the server runs. Afterwards, start dedicatedServer.exe to activate the web interface.
Important: Start the server first and the web interface afterwards; otherwise, Epic Games treats both as the same file and prevents the main server from starting.
To make your server publicly accessible, you must adjust port forwarding rules for the ports used by the Dedicated Server. You can do this via PowerShell, which is easier, or through Windows Defender Firewall.
Open Windows Search and look for PowerShell. Right-click it and select Run as Administrator to have the necessary permissions.
Make sure to run PowerShell as administrator; otherwise, the settings won’t apply correctly.
Enter and execute the following commands in PowerShell:
New-NetFirewallRule -DisplayName "FS22 Server" -Direction Inbound -LocalPort 10823,8080 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "FS22 Server" -Direction Inbound -LocalPort 10823,8080 -Protocol UDP -Action Allow
New-NetFirewallRule -DisplayName "FS22 Server" -Direction Outbound -LocalPort 10823,8080 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "FS22 Server" -Direction Outbound -LocalPort 10823,8080 -Protocol UDP -Action Allow
These commands automatically create the firewall rules your Farming Simulator 22 server needs to be publicly reachable.
Open Windows Firewall with Advanced Security via Windows Search. If you only see the basic firewall, click Advanced Settings to open the correct window.
Create new rules for your Farming Simulator 22 server. Click on inbound and outbound rules and add the following protocols and ports:
- TCP inbound and outbound: 8080, 10823
- UDP inbound and outbound: 8080, 10823
If you need more help, use our Port Forwarding (Firewall) guide.
Start the game and go to the multiplayer menu. Search for the server name, which you can find and customize in the web interface.
Click the server to connect. If a password is requested, you will also find it in the web interface.
You have successfully installed Farming Simulator 22 (Epic Games version) on your Windows Dedicated Server.