• 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!

[ServicePort::open] Error: bind: Address already in use

al222

Member
Joined
Sep 18, 2019
Messages
81
Reaction score
19
Trying to run a server on a mac, and got everything to compile just fine and it seems to run, but I can't log on and I keep getting this error:
[ServicePort::open] Error: bind: Address already in use
over and over again.

Any ideas on what could be wrong?

Settings in config.lua:
ip = "192.168.10.116"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171

I've tried seeing in terminal if anything else is running on those ports, but there isn't.
 
make sure there is no other instance of tfs running, that is 99% of why this error occur
Evil, how i can open two instances on linux? i change ports and database, but i continue recieving this

LUA:
[ServicePort::open] Error: bind: Address already in use

TFS 1.3
 
Last edited:
Evil, how i can open two instances on linux? i change ports and database, but i continue recieving this

LUA:
[ServicePort::open] Error: bind: Address already in use

TFS 1.3
U can easy xd. Find procees and kill IT. Or easier way - restart Server from HOST
 
Evil, how i can open two instances on linux? i change ports and database, but i continue recieving this
Hey, did you manage to figure it out? I'm facing the same issue.

Is there no way to run 2 instances of TFS on linux with different database and ports?
 
reboot your vps, or learn to kill exsists process, 100% sure u have in background already launched TFS.
 
Change login port, game port and database name.
I did and it works, but I still get this on console: [ServicePort::open] Error: bind: Address already in use.

Is it just a warning and not an error? Do you know how can I get rid of it?
reboot your vps, or learn to kill exsists process, 100% sure u have in background already launched TFS.
I'm trying to run 2 instances on different ports and database, I know how to kill the processes. I want to get rid of this error message.
 
I
I did and it works, but I still get this on console: [ServicePort::open] Error: bind: Address already in use.

Is it just a warning and not an error? Do you know how can I get rid of it?

I'm trying to run 2 instances on different ports and database, I know how to kill the processes. I want to get rid of this error message.
it is an error you can do the following :
sudo apt-get htop
htop
f4 & write tfs
f9 then 9 then enter
f10 to close HTOP open you server again

make sure you kill all sessions using f9 then 9 to make sure no other instances is running
 
I did and it works, but I still get this on console: [ServicePort::open] Error: bind: Address already in use.

Is it just a warning and not an error? Do you know how can I get rid of it?

I'm trying to run 2 instances on different ports and database, I know how to kill the processes. I want to get rid of this error message.
Hmm, i was never needed 2 engines on one comp, not sure if this will work, but try.
Faster and less stress, will be free hosting for month, or two, or on oracle, also free, for longer time i think, or hosting on contabo for 5 euro.


Continue to 2 instances...
First of first, first instance use ip,
how about second instance ?
Totally not sure here.

First instance is 7171, 7172
Second instance, set for example, 8181, 8182, or something else for security.
There is also firewall, for opening ports for second instance.
Here you need check in the internet, for the commands, i was never on mac.
 
Last edited:
Hmm, i was never needed 2 engines on one comp, not sure if this will work, but try.
Faster and less stress, will be free hosting for month, or two, or on oracle, also free, for longer time i think, or hosting on contabo for 5 euro.


Continue to 2 instances...
First instance is 7171, 7172
Second instance, set for example, 8181, 8182, or something else for security.
There is also firewall, for opening ports for second instance.
Here you need check in the internet, for the commands, i was never on mac.
what about if we would like to use same client to log in ? otc or something else?
really curious about how would this work or if it would or no
 
make sure you kill all sessions using f9 then 9 to make sure no other instances is running
You might have misunderstood me, I want to run 2 instances of TFS in the same machine (using different database and ports). It is working, but I still get this "error" often. I want to know how to get rid of it.

Hmm, i was never needed 2 engines on one comp, not sure if this will work, but try.
Faster and less stress, will be free hosting for month, or two, or on oracle, also free, for longer time i think, or hosting on contabo for 5 euro.


Continue to 2 instances...
First of first, first instance use ip,
how about second instance ?
Totally not sure here.

First instance is 7171, 7172
Second instance, set for example, 8181, 8182, or something else for security.
There is also firewall, for opening ports for second instance.
Here you need check in the internet, for the commands, i was never on mac.
I'm currently using same ip but different ports and database, it works but I still get this warning/error in console.
 
Back
Top