Closed Charmandrigo closed 5 months ago
You can modify the settings file and change the port to any other port you like. This should allow you to run 2 servers. There should be a ServerSettings file in your server directory after booting I believe. This is a json file. Changing the "Port" property would use a different port (by default 15000) If it doesn't exist by default, you can create it yourself. Create a file (without extension) called "ServerSettings" in the same directory as the executable. Then put the following text in it:
{
"Port": 15001
}
You can modify the settings file and change the port to any other port you like. This should allow you to run 2 servers. There should be a ServerSettings file in your server directory after booting I believe. This is a json file. Changing the "Port" property would use a different port (by default 15000) If it doesn't exist by default, you can create it yourself. Create a file (without extension) called "ServerSettings" in the same directory as the executable. Then put the following text in it:
{ "Port": 15001 }
only a "versioncache" file is created when running the server
![]()
I attempted to create the json file manually tho it still listens to port 15000
![]()
You have to remove the ".json" extension. The filename should simply be "ServerSettings" without any extension.
Did not worked either
Can you check again with the latest release? Because this hasn't worked of all I have tested
@Charmandrigo Sorry for late reply. I tested changing port and it all appears to work fine.
Tested on both Linux and Windows.
Since you're on Linux, did you check file permissions?
Here is the most basic example of it working:
I have a rig that has two cards connected for computing, a Nvidia one and a AMD one, both support Cuda and HIP respectively but I can only run one server at a time, it says address is in use when opening a second console.
Is there a way to run a second server instance in the same computer, like on a different port? I want to know how to switch it, would be really useful have the two servers running on this same computer for rendering