• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[DEBIAN] Two servers at the same machine.

Status
Not open for further replies.

Kaboo

New Member
Joined
Feb 14, 2009
Messages
142
Reaction score
0
Hello, I have a remote Debian machine, and I want to open 2 servers at the same time.
SERVER 1 is configured(config.lua) to use ports 7171 and 7174;
SERVER 2 is configured(config.lua) to use ports 7172 and 7173;
But when I open the second server it says in the console that it is using ports 7171, 7172 and 7173, giving me some connection trouble in server 1.

If it comes necessary, I'm opening the servers though PuTTY using this for server one:
Code:
#!/bin/bash
ulimit -c unlimited
while true; do ./tfs1; done
And this for server 2:
Code:
#!/bin/bash
ulimit -c unlimited
while true; do ./tfs2; done

Is there any way to configure server 2 so it won't use 7171 port anymore?

Thanks! :thumbup:
 
Server 1:
Code:
	worldId = 1
	ip = "xxx.x.xxx.xx"
	bindOnlyConfiguredIpAddress = false
	loginPort = 7171
	gamePort = 7174
	adminPort = 7171
	statusPort = 7171

Server 2:
Code:
	worldId = 2
	ip = "xxx.x.xxx.xx"
	bindOnlyConfiguredIpAddress = "no"
	loginPort = 7172
	gamePort = 7173
	adminPort = 7172
	statusPort = 7172
 
Bump.. I've tried to compile using another rev (3748) but it is still using 7171, 7172 and 7173. :(
 
Status
Not open for further replies.
Back
Top