Good evening, I’d like to know how to run two FIVEM servers on the same dedicated server,
with the same database
and same ip
fully synchronized server
change only a port
Good evening, I’d like to know how to run two FIVEM servers on the same dedicated server,
with the same database
and same ip
fully synchronized server
change only a port
Change the ports in the server.cfg.
I.e.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
to what ever you like (as long it’s available):
endpoint_add_tcp "0.0.0.0:9999"
endpoint_add_udp "0.0.0.0:9999"
When I try to open another Start.bat the server that is already running automatically closes and opens another, it is not working just change the ports.
Make a copy of your entire server file and call it server2 (or whatever you want). Change the .bat file so the path goes to the new server2 folder. You may need to allow access through firewall for server2. Change port in cfg (default is 30120 so make new server 37120 or 35250, something with a bit of difference). Then run .bat and it should show as second server on server list.