DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
Redmond desk12 min

How to Host a FiveM Server on Your Own PC (Windows txAdmin Guide)

A complete Windows guide to hosting FiveM at home, covering txAdmin installation, Cfx Portal registration, server.cfg, TCP/UDP ports, LAN and public access, updates and troubleshooting.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The easiest current way to host a FiveM server on a Windows PC is to run the official FXServer artifact and let its bundled txAdmin wizard create the server. You need a Cfx Portal account and server key, the recommended server artifact, an available game port (TCP and UDP 30120), and a PC whose firewall, router and internet connection allow the players you want to reach it. For people on the same network, the server can usually be tested through the LAN list before you configure public access.

What hosting a FiveM server on your PC actually involves

A FiveM server is a separate FXServer process that runs the game session, resources and player connections. Your FiveM client is only the player application; it does not create the server by itself. When you host at home, your Windows computer performs the server work and must remain powered on and connected whenever friends want to play.

As an Amazon Associate I earn from qualifying purchases.

The current Windows workflow combines the FXServer runtime with txAdmin. txAdmin is the web-based management panel bundled with the server runtime. It guides first-time installation, deploys a starter recipe, shows console output, and provides routine monitoring and administration from a browser.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What you need

  • A Windows PC with enough free disk space for the server artifact, server data and any resources you later add.
  • FiveM installed for each player, with a legitimate, supported Grand Theft Auto V installation.
  • A Cfx account for linking txAdmin and creating a server registration key in the Cfx Portal.
  • A stable local network. Ethernet is preferable for the host, although a reliable Wi-Fi connection can work for testing.
  • Permission to create Windows Firewall rules and, for internet play, to change your router’s port-forwarding settings.
  • For a GTAV Enhanced server setup, the Microsoft Visual C++ 2017 Redistributable required by the official guide.

Home hosting versus a rented server

Running the server on your own PC avoids a recurring hosting bill, but the machine, home internet connection and power supply become part of the server’s reliability. A rented game-server provider can keep a machine online for you, while home hosting gives you direct control over files and network settings. Cfx documents both approaches but does not publish a universal cost or performance comparison; the practical decision is whether you can leave your PC and network available when players need them.

#1 Best Overall
msi Codex Z2 Gaming Desktop, AMD R7-8700F, RTX 5070, 32GB DDR5, 2TB SSD | NVIDIA GeForce RTX 5070, USB Type-C, VR-Ready, Windows 11 Home. Model A8NVP-436US
  • POWERHOUSE 8-CORE GAMING PERFORMANCE — Driven by the AMD Ryzen 7 8700F with 8 cores and 16 threads, boosting up to 5.0 GHz for smooth, responsive gameplay and the ability to handle AAA titles, streaming, and background tasks all at once
  • NEXT-GEN BLACKWELL ARCHITECTURE — The NVIDIA GeForce RTX 5070 is powered by NVIDIA's cutting-edge Blackwell GPU architecture, delivering a massive generational leap in rasterization and ray tracing performance so you can experience your games the way they were meant to be played.
  • Simplistic Design: Enjoy the latest generation of Windows 11 Home for your everyday needs. *MSI recommends Windows 11 Pro for business use.
  • Cool While Gaming: In conjunction with an ARGB fan Air Cooler, the Codex R2 features four system cooling fans; three in the front and one in the rear to pull in cool air and push heat out of the PC.
  • Turn on the Bright Lights: With the built-in RGB lighting, take your gaming experience to the next level by pressing the MSI LED button to cycle through lighting options. Customize lighting even further with MSI Center software.

Prepare Windows before installing

Choose the correct server build

Open Cfx’s official server-download page and select the latest recommended Windows artifact. An artifact is the package containing the files needed to run or update a FiveM server. Traditional FiveM Windows installations use the server.7z archive. GTAV Enhanced builds use the alternate archive and executable names shown in Cfx’s current documentation, so do not assume that a legacy filename applies to Enhanced.

Artifact names and build numbers change. Use the recommended build rather than an old link copied from a forum, and keep the download page bookmarked for future updates.

Create a simple folder layout

Create a clearly named directory such as C:FXServerserver. A short path without spaces makes command-line troubleshooting easier. If you later use the manual, or vanilla, method, keep the downloaded server binaries separate from the cfx-server-data folder that contains server.cfg and resources.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Decide whether you are testing locally or opening the server to the internet

Start with a LAN test whenever possible. It isolates installation problems from router and ISP problems. Public access requires three additional conditions: Windows Firewall must allow the server, your router must forward the game ports to the host’s private IP address, and your ISP must permit inbound traffic. Some connections use carrier-grade NAT, which prevents normal inbound forwarding; the router can appear correctly configured while outside players still cannot connect.

Install a server with the txAdmin wizard

The following procedure is the supported, least complicated Windows path. Start the first launch without an +exec argument so FXServer enters txAdmin monitor mode.

  1. Create the server directory. Make C:FXServerserver or another clearly named folder and confirm that your Windows account can write to it.
  2. Download the recommended artifact. From the official Cfx server-download page, download the current recommended Windows package. Select the Enhanced package only if your game and server setup are intended for GTAV Enhanced.
  3. Extract the archive. Open the .7z file with 7-Zip or WinRAR and extract its contents into the server folder. Do not leave FXServer.exe buried inside an extra, unexpected subfolder; the executable and its supporting files should be together.
  4. Start FXServer for the first time. Run FXServer.exe directly, with no +exec arguments. A browser should open txAdmin automatically. If it does not, browse on the host PC to http://localhost:40120.
  5. Complete txAdmin registration. Enter the PIN printed in the FXServer console, link your Cfx account, create the requested backup password, review the Creator Platform and txAdmin licence terms, and register the panel.
  6. Name the server and choose a recipe. Enter a server name, choose Popular Recipes, then select CFX Default FiveM (also displayed in some screens as FiveM Basic Server (CFX Default)). Save the data location when txAdmin asks where to place the server data.
  7. Create the server key. In Recipe Deployer, open the Cfx Portal link. Create a server key for this server, copy it, return to txAdmin, paste it into the key field and run the recipe. The key is required for normal operation; keep it private.
  8. Deploy the recipe. Let txAdmin download and configure the starter resources. Wait for deployment to finish rather than closing the browser or console midway.
  9. Save and run. Choose Save & Run Server. txAdmin should show the server process starting and the console should begin logging resource and endpoint activity.
  10. Test from FiveM. Launch FiveM and look for the LAN entry representing the host computer. If it does not appear immediately, restart the FiveM client after the server is running.

What success looks like

At the end of the wizard, txAdmin remains available at the local management address, the console is running without a missing-license error, and a FiveM client on the same network can see the LAN server. This local result confirms the files and recipe are functional; it does not by itself prove that an outside player can reach your router.

Configure and administer the server in txAdmin

Use txAdmin for routine operations instead of repeatedly launching random command lines. Its panel is intended to manage and monitor the FiveM server, while the console remains useful for reading startup messages and resource errors.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Alienware Aurora Gaming Desktop, RTX 5070, Intel Core Ultra 7 265F | 1TB SSD, 32GB DDR5, Wi‑Fi 7, Bluetooth, Killer 2.5Gb Ethernet, Windows 11 Home, Wired Keyboard, ACT1250
  • Legend perfected: Modern design with a matte basalt black finish in an optimized chassis with customizable AlienFX lighting zones, including the striking stadium lighting.
  • Game changing graphics: Step into the future of gaming and creation with the NVIDIA GeForce RTX 5070 graphics, powered by NVIDIA Blackwell architecture.
  • Marathon gaming unlocked: This high-performance technology ensures clean energy is consistently available, unleashing the top-level power of Intel Core Ultra 7 265F processor as you game, livestream, and multi-task for hours on end.
  • Total command: Alienware Command Center software allows you to create and edit AlienFX lighting across the ecosystem, choose and monitor your performance mode across distinct power states, and create custom gaming profiles for your whole library.
  • Dell Services: 1 Year Onsite Service provides support when and where you need it. Dell will come to your home, office, or location of choice, if an issue covered by Limited Hardware Warranty cannot be resolved remotely.

Keep the panel private

The default txAdmin web port is TCP 40120. Use http://localhost:40120 on the host for administration. Do not forward this management port to the public internet just to make the game server reachable. Use the backup password you created during registration, and store it somewhere safe; losing access to the panel can turn a simple configuration change into a recovery exercise.

Where customisation belongs

The recipe creates server data separately from the downloaded runtime. Server names, endpoint declarations, resource start lines and gameplay settings live in the data configuration. Add one resource at a time, restart cleanly, and read the console after each change. A resource that fails to start can prevent the expected gameplay even though FXServer itself appears to be running.

OneSync and starter resources

The default recipe is designed to provide a working base. The vanilla example documented by Cfx enables OneSync and starts the default resources. Treat that base as a known-good starting point: back up the data directory before replacing resources or making broad configuration changes.

Ports, addresses and router configuration

FiveM’s documented game endpoint uses the same port number for both transport protocols. txAdmin uses a separate HTTP management port.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Use Protocol Port What must be reachable
FiveM game endpoint TCP 30120 Allow the server process through Windows Firewall; forward this port to the host for public play.
FiveM game endpoint UDP 30120 Allow and forward UDP 30120 as well as TCP; forwarding only one protocol is incomplete.
txAdmin panel TCP 40120 Use locally for administration. Do not expose it through the router unless you have a specific, secured reason.

Bind the game endpoint

The standard configuration binds both game protocols to every local interface with 0.0.0.0:30120. That lets the server listen on the host’s LAN address rather than only on loopback. Windows Firewall still has to permit the executable or port.

Create Windows Firewall rules

When Windows asks whether to allow FXServer through the firewall, allow it on the private network you actually use. If you dismissed the prompt, create inbound rules for TCP 30120 and UDP 30120 in Windows Defender Firewall with Advanced Security, or allow the FXServer executable. Avoid opening unrelated ports. Test locally before changing rules for public access.

Forward ports on the router

Give the host PC a stable private address, either with a DHCP reservation in the router or a correctly configured static address. Forward TCP 30120 and UDP 30120 from the router’s public interface to that private address. Router menus vary by manufacturer, so the exact labels and screens are environment-dependent. If the host’s private address changes, an otherwise correct forwarding rule can point to the wrong computer.

Rank #3
SKYESEV Prebuilt Gaming Desktop PC, AMD Ryzen 5 5600, GeForce RTX 3050 6GB,32GB DDR4 3200MHz RAM, 1TB NVMe SSD, ARGB Air Cooling, Wi-Fi,Tower Computer for Gaming, Streaming, Editing
  • Processor specifications: Adopting AMD Ryzen 5 5600 processor, with a basic clock speed of 3.5GHz and a turbo frequency of 4.4GHz, it can achieve fast response computing performance
  • Graphics Card: Features GeForce RTX 3050 graphics card with 6GB dedicated video memory for gaming and multimedia applications
  • Memory configuration: Equipped with 32GB DDR4 RAM (16GB * 2), providing sufficient memory capacity for multitasking and demanding applications
  • Gaming Performance: Designed to handle modern gaming titles and graphics-intensive tasks with smooth frame rates and visual quality
  • Desktop System: Complete gaming desktop computer system ready for setup and use out of the box

Understand ISP limitations

Your public address may be shared through carrier-grade NAT, or inbound traffic may be blocked by the ISP. In those cases, local players can connect while outside players cannot, even after firewall and router changes. The official setup documentation does not guarantee compatibility with a particular ISP or router model; treat public reachability as a property of your connection, not of the FiveM installation alone.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Let friends connect

Players on the same LAN

Start FXServer, wait for txAdmin to show it running, and launch FiveM on the other computer. Use the LAN listing for the host. If the listing is missing, verify that both computers are on the same network, that Windows classified the network correctly, and restart the FiveM client. A local connection does not require router port forwarding.

Players outside your home

After the LAN test succeeds, keep TCP and UDP 30120 forwarded to the host and allow them through the firewall. Give friends the public address and game port shown by your connection setup, not the host’s private address such as 192.168.x.x. If they still cannot connect, test from a genuinely external network, confirm that the router’s WAN address matches the address you are sharing, and investigate CGNAT or ISP filtering before changing server files.

Keep the host available

Closing FXServer, putting the PC to sleep, losing the network connection or rebooting the router stops the session. A wired connection, an automatic startup plan and an uninterruptible power supply can improve reliability, but they cannot overcome an ISP that blocks inbound traffic.

Manual, or vanilla, installation

Use the vanilla route when you want direct control over launch arguments and configuration instead of the guided txAdmin recipe. It requires more attention to paths and file names.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Separate runtime and data

Keep the extracted server binaries in one folder and the cfx-server-data repository or data directory in another. Create server.cfg in the data directory. This separation makes it possible to update the artifact without overwriting your configuration and resources.

Minimal endpoint and license configuration

A basic configuration contains both protocol bindings, a Cfx Portal key, OneSync and the default resource start lines. The key shown below is a template; replace it with the key generated for your server.

Rank #4
KOTIN Prebuilt Gaming PC RTX 5070 12GB, Ryzen 7 9700X, 32GB DDR5, 1TB SSD | 11.3in Smart Display, 850W 80+ Gold PSU, 360mm Liquid Cooler, WiFi 7, 1440p 4K ARGB Windows 11 Gaming Desktop Computer
  • POWERED BY RTX 5070 12GB + RYZEN 7 9700X - The GeForce RTX 5070 12GB GDDR7 graphics card pairs with an 8-core AMD Ryzen 7 9700X processor to drive smooth 1440p and 4K gameplay, giving this gaming PC the headroom for modern titles, streaming, and creative work.
  • 32GB DDR5 6000MHz MEMORY & 1TB NVMe SSD - 32GB of high-speed DDR5 memory and a 1TB PCIe 4.0 NVMe solid state drive deliver quick load times, smooth multitasking, and generous storage, keeping this prebuilt gaming desktop responsive under heavy workloads.
  • BUILT-IN 11.3-INCH Smart DISPLAY - An integrated smart screen shows real-time CPU and GPU temperatures, usage, and weather while you play, adding a distinctive and functional touch to your battlestation.
  • 850W 80+ GOLD POWER SUPPLY, 360MM LIQUID COOLING & WiFi 7 - An 850W 80 Plus Gold certified power supply provides stable, efficient power with headroom for future upgrades, while a 360mm AIO liquid cooler, WiFi 7, and an ARGB mid-tower case keep the Ryzen 7 CPU cool and connected in a clean build.
  • READY TO PLAY OUT OF THE BOX - Arrives fully assembled and tested with Windows 11 Home pre-installed, so your prebuilt gaming computer is ready to set up in minutes. Assembled in the USA, and backed by a one-year limited warranty and lifetime free technical support.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
sv_licenseKey "YOUR_CFX_PORTAL_KEY"
onesync on
# start the default resources supplied with cfx-server-data

Do not publish the real key in a screenshot, repository or chat message. Keep the actual default-resource lines supplied by the matching cfx-server-data version rather than copying an outdated list from an unrelated tutorial.

Launch from the data directory

Open a command prompt in the data directory and run:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
FXServer.exe +exec server.cfg

The +exec argument tells FXServer which configuration to load. Launching from the wrong directory or omitting that argument commonly produces missing-resource, connection-refusal or missing-license symptoms. If you prefer txAdmin after experimenting with vanilla, return to launching FXServer.exe without arguments for monitor mode.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

txAdmin or vanilla: which path fits?

Decision point txAdmin wizard Vanilla launch
Setup effort Lowest for a first Windows server; the recipe deploys a working base. Higher; you arrange data folders, configuration and launch arguments yourself.
Configuration control Convenient panel plus editable server data; ideal for routine administration. Maximum direct control over files, command lines and update timing.
PC availability FXServer still must keep running on your PC whenever players connect. The same requirement applies; vanilla does not make the host persistent.
Public networking Still requires firewall rules, router forwarding and an ISP that accepts inbound traffic. Exactly the same network requirements; the launch method does not bypass NAT.
Updates Update the recommended artifact and preserve the txAdmin-managed data. Update binaries separately and verify that your data files match the runtime.
Recurring hosting cost No provider charge when you run the server on your own PC, although electricity and internet service still cost money. Also avoids a provider charge when self-hosted; hardware and connectivity remain your responsibility.

Updating, backups and safe maintenance

Update the artifact deliberately

Build numbers and filenames are volatile. Download the current recommended artifact from Cfx, stop the running server, back up the data directory, then replace the runtime files according to the current documentation. Do not overwrite your only copy of server.cfg, custom resources or txAdmin data.

Back up what matters

  • Copy server.cfg and every custom resource.
  • Keep a backup of the txAdmin data and the backup password.
  • Record the server key’s ownership and revoke or replace it through the Cfx Portal if it is exposed.
  • Before a major resource or artifact change, make a dated backup that you can restore without relying on the live machine.

Change one variable at a time

When adding a resource or changing a setting, restart and inspect the console before making another change. This preserves a clear cause-and-effect trail and makes it easier to return to the last working backup.

Troubleshooting guide

txAdmin did not open

Confirm that you started FXServer.exe without +exec arguments for the first launch. On the host computer, open http://localhost:40120 manually. If the page still fails, check that FXServer is running, that another application is not using TCP 40120, and that Windows Firewall is not blocking the local process.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

“No resources found” or “failed to start resource”

These messages usually point to a path or data problem. Check that the data directory contains the resources expected by the recipe, that you did not extract the artifact into an extra nested folder, and that a vanilla launch is being run from the data directory with +exec server.cfg. Compare the resource names in your configuration with the folders actually present.

Best Value
YAWYORE Gaming PC, AMD Ryzen 7 5700X, GeForce RTX 5060 Desktop Computer
  • CPU: AMD Ryzen7 5700X (up to 4.6GHz) 8-Core 16-Thread to easily handle multi-line tasks
  • Main board: MSI B550M-A PRO motherboard provides reliable performance and stability
  • GPU: Geforce RTX 5060 8GB GDDR7 Graphics Cards (Brand may vary) Support DLSS 4 multi frame generation, ray tracing, and Reflex 2 delay optimization
  • RAM: 32GB DDR4 3200MHz (16GB*2) SSD: 1TB M.2 NVMe PCIe
  • Power supply: 650W (80plus bronze) certified for energy efficiency and stable performance

“No license key was specified”

Generate a server key in the Cfx Portal and place it in the active configuration as sv_licenseKey. Then verify that FXServer is loading the configuration you edited. A correct key in an unused file has the same effect as no key at all. In txAdmin, paste the key during Recipe Deployer setup and save the recipe before running it.

Friends cannot connect but LAN works

Check all of the public-access layers in order: Windows Firewall, TCP 30120 forwarding, UDP 30120 forwarding, the host’s unchanged private address, and the router’s current WAN address. Test from a phone hotspot or another external connection. If the router receives a private WAN address, your ISP may be using CGNAT; contact the ISP or choose a network arrangement that permits inbound traffic.

The LAN entry is missing

Make sure the server process is actually running, both computers are on the same LAN, and the host’s firewall allows the game endpoint. Restart FiveM after the server reaches its running state. If the server was launched with a malformed configuration, read the FXServer console for endpoint or resource errors before troubleshooting discovery.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The server stops when nobody is playing

Check Windows sleep settings, automatic updates, reboots, router uptime and power interruptions. Home hosting is only available while the PC and connection remain available. A UPS and a scheduled restart policy can reduce interruptions, but they are optional reliability measures rather than FiveM requirements.

When a home PC is not the right host

If you cannot keep a computer online, cannot forward ports because of CGNAT, or do not want to maintain Windows updates and backups, a FiveM game-server provider is the alternative documented by Cfx. You trade direct hardware and network control for a service that keeps a machine online. Compare providers using uptime commitments, data access, update controls, region and support; do not assume that any provider removes every configuration or resource limitation.

If you prefer not to run the Windows host yourself, Godlike.Host offers FiveM game-server hosting with its own game panel and 24/7/365 support by live chat or ticket. It is not on Cfx.re’s list of authorized FiveM hosts (fivem.net, 10 Oct 2026).

Practical launch checklist

  • Recommended Windows artifact downloaded and extracted cleanly.
  • GTAV Enhanced users installed the required Microsoft Visual C++ 2017 Redistributable.
  • First FXServer launch completed without +exec, and txAdmin opened on TCP 40120.
  • Cfx account linked, backup password stored and licences accepted.
  • CFX Default FiveM recipe deployed and server key created in the Cfx Portal.
  • LAN connection tested before public networking changes.
  • TCP 30120 and UDP 30120 allowed through Windows Firewall and forwarded only when outside access is needed.
  • Server data, configuration, resources and txAdmin data backed up before updates.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.