txAdmindocs
Troubleshooting

txAdmin login: URL, PIN and password reset

Log in to txAdmin at http://localhost:40120 or your server IP. First-run PIN, Cfx.re vs password login, adding admins and fixing lockouts.

To log in to txAdmin, start FXServer, then open the panel URL it prints in the console: http://localhost:40120 on the server itself, or http://<server-ip>:40120 from another computer. On first boot, enter the 4-digit PIN from that console and link your Cfx.re account to create the master account. After that, sign in with Login with Cfx.re or with your username and backup password.

This page is part of an independent community guide, not an official Cfx.re or Take-Two Interactive website and not a login portal for your server. Your panel runs only on your own server or hosting provider.

Find the txAdmin URL and port

The panel listens on TCP 40120 by default. When it is ready, the console shows a box with All ready! Please access: and the address to use.

Where your browser runsAddress
On the server itselfhttp://localhost:40120
On another computerhttp://<server-ip>:40120
Game server hostThe panel link or port in your host's control panel
Changed porthttp://<address>:<TXHOST_TXA_PORT>

localhost always means the computer your browser runs on. From your own PC, localhost:40120 cannot reach a VPS or a rented server. The game itself normally uses port 30120; txAdmin refuses to use 30120 for the panel.

Since txAdmin v8.0.0, the panel port is set with the TXHOST_TXA_PORT environment variable before FXServer starts. The older txAdminPort ConVar is deprecated; if both are set, TXHOST_TXA_PORT wins. See Environment & ports.

First login: the setup PIN

There is no default txAdmin username or password. On the first boot, or whenever txData/admins.json does not exist, txAdmin prints a random 4-digit PIN under Use the PIN below to register:.

  1. Start FXServer without +exec server.cfg (Install & launch). On Windows, txAdmin opens the PIN page in your browser automatically.
  2. Enter the PIN and click Link Account.
  3. Sign in to your Cfx.re account and allow the request.
  4. Choose a backup password (6–128 characters). A Discord user ID is optional; it is used for in-game menu access.
  5. Continue to the server setup (Your first server).

This account becomes the master account. It cannot be deleted from the panel and only the master can edit it.

Some game server hosts create the account for you with TXHOST_DEFAULT_ACCOUNT. In that case you never see a PIN. Use the Cfx.re account or credentials your host set up, and ask the host if you were never told which.

Cfx.re login vs password login

The login page offers two methods:

MethodWorks whenTypical error
Login with Cfx.reYour txAdmin account has your Cfx.re (fivem:) identifierThe Cfx.re account '...' is not an admin.
Username + passwordYou know the account's backup or temporary passwordWrong username or password!

Both lead to the same account and permissions. If the Cfx.re button says you are not an admin, you signed in with a different Cfx.re account than the one linked in txAdmin; try the username and password instead. Discord is not a web login method in txAdmin.

To change your own password, open your account menu in the panel. The form asks for your current password unless you are on a temporary one.

The txAdmin dashboard after login

After signing in you land on the Dashboard: server status, player count, thread performance and recent player-drop reasons. The top bar leads to Players, History, Player Drops, Allowlist, Admins and Settings; the server sidebar holds Live Console and server controls. Items you lack permission for are disabled. See Read the monitoring dashboard.

Add admins instead of sharing the login

Do not share the master account. To give staff their own login:

  1. Open Admins (Admin Manager). This needs the master account, all_permissions or manage.admins.
  2. Add the admin with a username and, ideally, their Cfx.re and Discord identifiers.
  3. Pick only the permissions they need (Admin permissions).
  4. Copy the generated password. txAdmin shows it once.
  5. The new admin logs in and must replace this temporary password before using the panel. With a linked Cfx.re identifier, they can also use Login with Cfx.re.

Forgot the password or locked out

Work through these from least to most disruptive:

  1. Cfx.re still linked: use Login with Cfx.re. You do not need the password for that.
  2. Staff account: an admin with manage.admins can delete the account and add it again. That generates a new temporary password. Admins cannot see or reset another admin's password directly.
  3. Master account, no working login: use the file-based reset below.

Reset the master account

This removes all txAdmin admin accounts, not only the master. Use it only on a server you own.

  1. Stop FXServer/txAdmin completely. While txAdmin is running, it restores admins.json if the file is changed or deleted.
  2. In your txData folder (or the folder set in TXHOST_DATA_PATH), rename admins.json to something like admins.json.bak. Keep the copy.
  3. Start FXServer again. The console prints a new PIN.
  4. Complete the first-login steps, then re-create your staff accounts.

On managed hosting, use the provider's file manager or ask support. Never post the PIN, password, session cookie or the contents of admins.json in a support thread or Ask AI.

txAdmin login problems

SymptomLikely cause and fix
Page does not load at allWrong address, firewall, or a host port. Follow Panel not reachable.
localhost:40120 works only on the serverExpected. From elsewhere use the server's IP and open TCP 40120 in the firewall.
Different port in the consoleTXHOST_TXA_PORT or the old txAdminPort is set. Use the printed port.
Panel on a hosting providerHosts often assign their own port and address. Use the link in your host's control panel.
No PIN in the consoleAn admins.json already exists, or your host pre-created the account. Log in, or reset as above.
not an admin after Cfx.re loginWrong Cfx.re account, or none linked to your txAdmin account. Use the password, then link it.
Wrong username or password!Check the username's spelling. Passwords are case-sensitive.
Asked to change the password right awayYou have a temporary password from Admin Manager. Set your own.
Cfx.re login fails behind a domain or proxyTest the direct IP and port first, then check DNS, TLS, cookies and proxy routing.
Logged in, but buttons are disabledMissing permissions. Ask the master or an admin with manage.admins.
Web login works, in-game menu does notThe in-game menu needs your Cfx.re or Discord identifier on the admin account. See Admin menu access.

When asking for help, note the FXServer artifact and txAdmin versions, the login method and the exact error text. Compare with the Admin Logs.


Sources (txAdmin v8.1.1; unchanged in v8.1.2): environment configuration, ready message and PIN, admin store, login page, login errors, password login route, Admin Manager actions, Cfx.re txAdmin setup guide.

On this page