ServerLoomFast & Secure
Login Get started

txAdmin login: open localhost:40120 and fix it when it won't load

Where to open txAdmin, how the first login with the PIN works, what to do when localhost:40120 does not load and how to get back in after a lost password.

Beginner 6 min read Updated Dec 5, 2026 ServerLoom team
On this page

txAdmin is the free web panel that comes with every FiveM server. It runs on port 40120, so its address is http://localhost:40120 or http://YOUR-SERVER-IP:40120. This guide shows which address to use, how the first login works and how to fix the most common problems.

localhost or your server IP?

localhost means "this computer". So:

  • http://localhost:40120 only works in a browser on the server itself (for example inside your Windows server through Remote Desktop).
  • From your own PC, use http://YOUR-SERVER-IP:40120 — the IP is in your ServerLoom dashboard.

Type http://, not https:// — txAdmin uses plain http by default, and many browsers show an error page when you add https.

The first login (PIN)

  1. Start your server: FXServer.exe on Windows, or ./run.sh on Linux.
  2. The console shows a 4-digit PIN and the txAdmin address.
  3. Open the address, enter the PIN and click Link Account to log in with your Cfx.re (FiveM forum) account.
  4. Choose a backup password. You need it if the Cfx.re login ever fails — write it down.
Good to know

There is no default txAdmin username or password. The very first login always uses the PIN from the server console.

The page does not load — check these 5 things

  1. Is the server running? The FXServer console window (or your tmux / screen session on Linux) must be open. If it closed, start it again and read the last red lines.
  2. Right address? localhost only on the server itself, your IP from your PC, and http:// not https://.
  3. Firewall on the server. Port 40120 (TCP) must be allowed — commands below.
  4. Firewall in your ServerLoom panel. If you turned on the firewall in your dashboard, add a rule that allows TCP 40120 from your own IP.
  5. Is something else using the port? The commands below show which program listens on 40120.

Windows (PowerShell as Administrator)

PowerShell
# Allow txAdmin through the Windows firewallNew-NetFirewallRule -DisplayName "txAdmin" -Direction Inbound -Protocol TCP -LocalPort 40120 -Action Allow # Which program listens on port 40120? (last number = process id)netstat -ano | findstr :40120

Linux (Ubuntu)

Bash
# Allow txAdmin through the firewall (only needed when ufw is active)sudo ufw allow 40120/tcp # Which program listens on port 40120?sudo ss -ltnp | grep 40120

Forgot your txAdmin password?

Another admin can still log in? Ask them to open Admin Manager and give you a new password.

You are the only (master) admin? Reset the admin list — your server, resources and database stay untouched:

  1. Stop the server (close FXServer or press Ctrl + C in the console).
  2. Open the txData folder (by default next to FXServer.exe on Windows, or next to run.sh on Linux).
  3. Rename admins.json to admins-old.json (renaming is safer than deleting).
  4. Start the server again: a new PIN appears and you set up the master account like the first time.
Careful

Anyone who reaches txAdmin can try to guess your password. Use a strong password and allow port 40120 only from your own IP — see step 5 of our FiveM DDoS protection guide.

Still stuck?

New server? Follow the full guide How to install a FiveM server with txAdmin on Windows or on Linux (Ubuntu). Then protect your FiveM server from DDoS attacks. ServerLoom customers can also open a ticket — our team helps you 24/7.

Ready to try it? Keep your city online.

Always-on ServerLoom Shield, high-clock Ryzen and a team that knows FiveM — online 24/7.

See FiveM plans
Stuck on a step? Our team helps you 24/7. Ask on Discord

Need help?

Choose how you'd like to reach us