Hey, everybody!
I'm pretty familiar with smartfox and have deployed various game servers. But now I needed to create a new instance and ran into a problem that I haven't gotten before.
For some reason UdpAvailable is always false for me. I am installing smartfox 2x 2.20.0 on a Ubuntu server. I checked the ports and even allowed all connections on all ports. But it's still false for me.
Maybe there are some reasons there that I don't know about?
SmartFox.UdpAvailable
Re: SmartFox.UdpAvailable
I found a solution to my problem.
In fact, my smartfox could not bind sockets on the specified ports. In the log I saw a message: "Was not able to bind socket".
The problem was solved when I changed the IP address in the server config to 0.0.0.0
I still don't know why this is the case on this server specifically. But it's working right now.
In fact, my smartfox could not bind sockets on the specified ports. In the log I saw a message: "Was not able to bind socket".
The problem was solved when I changed the IP address in the server config to 0.0.0.0
I still don't know why this is the case on this server specifically. But it's working right now.
Re: SmartFox.UdpAvailable
Hi,
SmartFoxServer 2.20 (and it's predecessors) are already set to use 0.0.0.0 by default so I am not sure why you had to change it... maybe you already modified it previously?
Cheers
SmartFoxServer 2.20 (and it's predecessors) are already set to use 0.0.0.0 by default so I am not sure why you had to change it... maybe you already modified it previously?
Cheers
Re: SmartFox.UdpAvailable
I've always changed it when I set up the smartfox server. Just doing it the way I've always done it.
I was surprised it didn't work.
I was surprised it didn't work.
Re: SmartFox.UdpAvailable
Leaving 0.0.0.0 is the best choice to avoid headaches: it binds the available private addresses without manual intervention.
Cheers
Cheers