server version question
Posted: 14 Jul 2016, 03:45
Our company's server version is 2.8.5, so we'd like to know if the sf2X version must be higher than 2.9 to support html5 client or websocket?
SmartFoxServer support forums
https://www.smartfoxserver.com/forums/
https://www.smartfoxserver.com/forums/viewtopic.php?f=33&t=18555
Lapo wrote:Yes,
Websockets is supported since version 2.3.x
cheers
Lapo wrote:No.
Version 2.3 is when we started supporting HTML5 websocket. Your run 2.8.
2.8 > 2.3
So, no problem
Lapo wrote:I am not sure I understand. The error talks about port 9871 but the server config shows port 8888.
Looks like you're connecting to the wrong port...
Support for secure web sockets has been added in 2.9
1. Can I use the html5 client API without the secure web sockets?
2. Why can't we connect to WebSocket? Is the version too old or because of the secure web sockets?
3. Is there anything else that could happen if we haven't got the secure web sockets?
endless30000 wrote:Lapo wrote:I am not sure I understand. The error talks about port 9871 but the server config shows port 8888.
Looks like you're connecting to the wrong port...
Support for secure web sockets has been added in 2.9
sorry that pic is the example in your website.http://docs2x.smartfoxserver.com/GettingStarted/web-sockets
and I have some questions:1. Can I use the html5 client API without the secure web sockets?
Yes2. Why can't we connect to WebSocket? Is the version too old or because of the secure web sockets?
We need more details to be able to reply.
For example are you sure the server port is reachable? If a firewall is blocking the traffic you won't be able to connect. You can verify by telnetting the server on the target port.3. Is there anything else that could happen if we haven't got the secure web sockets?
I am not sure what you mean.
If you want we can run a connection test from here. Send us your server's IP address, if it's reachable online. You can send me a PM or an email to support@...
thanks