Two Servers in One
How to run two servers in one machine.
Last updated
How to run two servers in one machine.
Last updated
We need to create a batch file in order to run the new server:
Create a new Notepad document and click the top result to open the text editor.
Type the following lines in the text file to create a batch file:
Keep in mind that you need to replace "C:\QBCoreDev" to where you currently have your FXServer.exe file for the server that you duplciated and as you can see above, the port is 40125 for txAdmin.
Save as and enter devserver.bat
Save to Desktop and run it to get started deploying your server files.
Follow the prompts to install txAdmin on your new dev server.
If txAdmin says that ports are in use already, just try a different port.
You will need to open ports 40125 and 30121 to allow people to connect. If you need help on how to open your FiveM,
You may also want to run a different database other than your main one, remember to rename it on server.cfg.
Keep in mind that since this is a developer server, it's going to be using your database for your live server. I'd recommend just exporting your current database, then importing it under a different name so that there's nothing wrong with your current one.
This is the SAFEST WAY to run a dev server. If you do not know how to Virtualize your server, we offer installation of it, click here to order it, is called "Virtualization".
We do not offer any support other than what is found on this guide. Please do not ask us for any support or open tickets about this, they will be auto closed.