FiveM is a popular mod framework that allows you to create custom GTA V multiplayer servers. This guide will walk you through installing and setting up FiveM on your Windows Server VPS.
📌 Prerequisites
- 
A Windows Server VPS (2016, 2019, or 2022) from VolticHost
 - 
Administrator access
 - 
At least 4GB RAM (8GB+ recommended for better performance)
 - 
.NET Framework 4.5 or later installed
 - 
Visual C++ Redistributable 2019 installed (Download Here)
 
1️⃣ Open Required Firewall Ports
To allow connections to the FiveM server, open these ports in Windows Defender Firewall:
- 
Open Windows Defender Firewall (
Win + R, typewf.msc, press Enter). - 
Click Advanced Settings → Inbound Rules → New Rule.
 - 
Select Port, click Next.
 - 
Choose UDP, enter port
30120, click Next. - 
Select Allow the connection, then Next.
 - 
Apply the rule to Domain, Private, and Public networks.
 - 
Name the rule FiveM UDP Port and click Finish.
 
Repeat the process for TCP Port 30120.
✅ Your firewall is now ready for FiveM.
2️⃣ Download and Install FiveM Server
- 
Create a Server Directory
- Open File Explorer, go to 
C:\, and create a folder calledFXServer. 
 - Open File Explorer, go to 
 - 
Download the FiveM Server Files
- 
Visit https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/
 - 
Download the latest recommended
fx.tar.xzfile. 
 - 
 - 
Extract the Files
- Use WinRAR or 7-Zip to extract the contents into 
C:\FXServer. 
 - Use WinRAR or 7-Zip to extract the contents into 
 - 
Run the Server Setup
- 
Open the
FXServerfolder. - 
Run FXServer.exe and complete the setup.
 
 - 
 
✅ Your server files are now installed.
3️⃣ Create a Server Configuration File
- 
In
C:\FXServer, create a new folder called "server-data". - 
Inside
server-data, create a file named server.cfg. - 
Open
server.cfgwith Notepad and paste the following basic setup: 
# Server Name sv_hostname "My FiveM Server" # Enable Live Console Logging loglevel "info" # Set the server IP and port endpoint_add_tcp "0.0.0.0:30120" endpoint_add_udp "0.0.0.0:30120" # Steam Web API Key (Get from https://steamcommunity.com/dev/apikey) set steam_webApiKey "your_steam_api_key" # Max Players sv_maxclients 32 # Server License Key (Get from https://keymaster.fivem.net/) sv_licenseKey "your_fivem_license_key" # Enable Script Hook (For Mods) sv_scriptHookAllowed 1
- 
Replace
your_steam_api_keywith a valid Steam Web API Key. - 
Replace
your_fivem_license_keywith your FiveM License Key (from https://keymaster.fivem.net). - 
Save and close the file.
 
✅ Your server configuration is now set up.
4️⃣ Run the FiveM Server
- 
Open Command Prompt (
Win + R, typecmd, press Enter). - 
Navigate to your FiveM server folder:
cd C:\FXServer\server-data - 
Start the server with:
C:\FXServer\FXServer.exe +exec server.cfg 
✅ Your FiveM server is now running!
5️⃣ Connect to Your FiveM Server
- 
Open FiveM Client on your PC.
 - 
Press
F8to open the console. - 
Type:
connect your-vps-ip:30120 - 
Press Enter to join your server.
 
✅ You can now play on your FiveM server!
6️⃣ Automate Server Startup (Optional)
To start the server automatically when Windows boots:
- 
Open Task Scheduler (
Win + R, typetaskschd.msc, press Enter). - 
Click Create Basic Task (right panel).
 - 
Name it Start FiveM Server → Click Next.
 - 
Select When the computer starts → Click Next.
 - 
Select Start a program → Click Next.
 - 
Browse for FXServer.exe (
C:\FXServer\FXServer.exe). - 
In Add arguments, enter:
+exec server.cfg - 
Click Finish.
 
✅ Your server will now start automatically when Windows reboots.
🎉 Conclusion
You've successfully set up a FiveM server on a Windows VPS! Your GTA V multiplayer community is now live. 🚀
For further assistance, contact VolticHost Support.