Which Ports Does a FiveM Server Use covers a common FiveM server setup, administration, development or troubleshooting task.
This Chapter22 guide is written for FiveM servers hosted on a game panel, VPS or dedicated server. Back up server.cfg, resources, txData and the database before major changes.
Read the first meaningful console error, identify the affected resource or dependency, and change one variable at a time.
Common Network Ports
| Service | Example | Protocol |
|---|---|---|
| FiveM endpoint | 30120 | TCP + UDP |
| txAdmin | 40120 | TCP |
Home servers usually require router forwarding. VPS/dedicated servers with routed public IPs normally require host/provider firewall rules instead.
Official Docs
Related Chapter22 FiveM Guides
- FiveM Ports Explained: 30120 TCP/UDP and txAdmin
- How to Open Ports on a Linux VPS
- How to Open Ports on a Windows VPS
- VPS Port Forwarding Explained
- FiveM Port Forwarding Guide
- FiveM Server Not Showing in Server List
- FiveM Startup Parameters Guide
- FiveM Server Works Locally but Not Publicly
- FiveM Server Convars Explained
Frequently Asked Questions
What is Which Ports Does a FiveM Server Use?
This guide explains Which Ports Does a FiveM Server Use for FiveM server owners.
Should I back up my FiveM server first?
Yes. Back up server.cfg, resources, txData and the relevant database before major changes.
Do FiveM resources need a restart after changes?
Most server-side resource or configuration changes require a resource restart or full FXServer restart. Follow the resource developer's documentation.
Need Help With Your FiveM Server?
Chapter22 Hosting supports FiveM servers ranging from standalone communities to heavily customized QBCore, ESX and Qbox roleplay servers with premium scripts, emergency vehicles, MLOs, CAD systems and custom resources.
When opening support, include the exact console error, resource name, framework, database connector and the last change made.
Build the server. Grow the community. Start your next chapter.
Chapter22 Hosting is not affiliated with or endorsed by Cfx.re, Rockstar Games or third-party developers referenced here unless explicitly stated. Third-party assets and trademarks belong to their respective owners. Follow current licenses and documentation.
