How to access to txadmin

Hello, my question is how can I log in to txadmin in the browser? A friend of mine hosts a server, he gave me admin rights to txadmin, when I went up to the server I could log in. But I deleted some resources and now I can’t connect because it says “Couldn’t load resource qb-ambulancejob: Couldn’t load resource qb-ambulancejob from resources:/qb-ambulancejob/: Could not open resource metadata file - no such file.”

How can I solve this? I also have ftp

3 Likes

Uh, your questions are unrelated - txadmin can be accessed via a web browser on port 40120 (by default) with your credentials; as for joining the game, you will need to figure out if that’s caused by your client or the server, and go from there.

That’s what I’m talking about, I can’t reach it in the browser… serverip:40120 doesn’t work, but when I went to the server and typed tx or txadmin, the panel came up and I could use it. Then I deleted some resources and then I couldn’t connect to the server anymore

1 Like

Doesn’t work as in the page doesn’t come up at all or has an error? If so, contact the person with access to the physical machine/VPS it’s being hosted at, only they can figure out why.
As to the second part, try clearing your cache, but again look at the server first to see if there’s anything broken

Doesn’t come up at all, nothing happens.

I was using txadmin on the server as I mentioned before and I deleted some resources like “qb-ambulancejob” and others, after I deleted these resources I refreshed them but these resources did not disappear, they stayed in the list the same way, so I tried to start the qb-ambulancejob resource to see what happens. It then threw me off the server and wrote out this: “Couldn’t load resource qb-ambulancejob: Couldn’t load resource qb-ambulancejob from resources:/qb-ambulancejob/: Could not open resource metadata file - no such file”, after I tried to reconnect to the server

So you deleted a resource on a running server and then tried to join? Why?!
I honestly can’t even tell you how bad of an idea that is lol

Why? Man, how was I supposed to know that the server can’t handle such a simple thing, like if I delete a resource, it shouldn’t be able to start it after it has been deleted? I’m new to this FiveM world, but for example, in MTA (Multi Theft Auto), interestingly enough, the server didn’t crash if I deleted a running resource. It simply stopped and deleted it even while the server was running

P.S: I managed to solve it—I got access to txAdmin in the browser as well.

Because that’s such a horrible practice I wouldn’t know where to start explaining why, lol. That said, I digress, as long as you got it working everything is fine!

1 Like

Hi! Just wanted to ask how you managed to resolve it. I can’t connect to the txAdmin via http://serverip:40120/

My friend, who is hosting the server gave me the ip xd

Lol im here laughing because a simple server restart would’ve fixed this. Well atleast you knw not to do that on a running server and never delete something and not save it to your desktop first

Yes, I know that a server restart would have solved this, but since I had no access to the admin or the server itself, I wasn’t able to restart it

Which hosting Panel does your server hoster use? Unless you are hosting on a VPS of course.

what port
.
bc i turn on whitelist in my server & forget to whilelist myself so how can i access from web

The default port is 40120. Access it at: http://your-server-ip:40120

Your whitelist issue:

You need to either:

  1. Access txAdmin via the web panel (if accessible) and turn off the whitelist or add yourself
  2. If you can’t access the web panel, connect directly to the server console/terminal and use the txadmin or tx command to open the panel there
  3. Alternatively, use FTP/file access to manually edit your server configuration files to disable the whitelist or add your identifier

Important: If the web panel isn’t loading at all, check that:

  • Port 40120 is open in your firewall
  • Your hosting provider has forwarded the port correctly
  • The server/txAdmin is actually running

If you have VPS/server access, you can restart txAdmin or modify configs directly via SSH/RDP.

1 Like