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 runs | Address |
|---|---|
| On the server itself | http://localhost:40120 |
| On another computer | http://<server-ip>:40120 |
| Game server host | The panel link or port in your host's control panel |
| Changed port | http://<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:.
- Start FXServer without
+exec server.cfg(Install & launch). On Windows, txAdmin opens the PIN page in your browser automatically. - Enter the PIN and click Link Account.
- Sign in to your Cfx.re account and allow the request.
- Choose a backup password (6–128 characters). A Discord user ID is optional; it is used for in-game menu access.
- 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:
| Method | Works when | Typical error |
|---|---|---|
| Login with Cfx.re | Your txAdmin account has your Cfx.re (fivem:) identifier | The Cfx.re account '...' is not an admin. |
| Username + password | You know the account's backup or temporary password | Wrong 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:
- Open Admins (Admin Manager). This needs the master account,
all_permissionsormanage.admins. - Add the admin with a username and, ideally, their Cfx.re and Discord identifiers.
- Pick only the permissions they need (Admin permissions).
- Copy the generated password. txAdmin shows it once.
- 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:
- Cfx.re still linked: use Login with Cfx.re. You do not need the password for that.
- Staff account: an admin with
manage.adminscan delete the account and add it again. That generates a new temporary password. Admins cannot see or reset another admin's password directly. - 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.
- Stop FXServer/txAdmin completely. While txAdmin is running, it restores
admins.jsonif the file is changed or deleted. - In your
txDatafolder (or the folder set inTXHOST_DATA_PATH), renameadmins.jsonto something likeadmins.json.bak. Keep the copy. - Start FXServer again. The console prints a new PIN.
- 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
| Symptom | Likely cause and fix |
|---|---|
| Page does not load at all | Wrong address, firewall, or a host port. Follow Panel not reachable. |
localhost:40120 works only on the server | Expected. From elsewhere use the server's IP and open TCP 40120 in the firewall. |
| Different port in the console | TXHOST_TXA_PORT or the old txAdminPort is set. Use the printed port. |
| Panel on a hosting provider | Hosts often assign their own port and address. Use the link in your host's control panel. |
| No PIN in the console | An admins.json already exists, or your host pre-created the account. Log in, or reset as above. |
not an admin after Cfx.re login | Wrong 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 away | You have a temporary password from Admin Manager. Set your own. |
| Cfx.re login fails behind a domain or proxy | Test the direct IP and port first, then check DNS, TLS, cookies and proxy routing. |
| Logged in, but buttons are disabled | Missing permissions. Ask the master or an admin with manage.admins. |
| Web login works, in-game menu does not | The 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.