Page 1 of 1

IPv6 connection problem

Posted: 08 Jun 2016, 14:45
by aliko
Hello,

- I updated my Unity api 1.6.5 and try to connect server but got this error.
- But when I use Iphone api, i can connect to my server.I mean there is no problem on serverside.

Code: Select all

[SFS - ERROR] [TCPSocketLayer] Connection error: Network is unreachable   at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP, Boolean requireSocketPolicy) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.TcpClient.Connect (System.Net.IPEndPoint remote_end_point) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.TcpClient.Connect (System.Net.IPAddress[] ipAddresses, Int32 port) [0x00000] in <filename unknown>:0 
  at Sfs2X.Core.Sockets.TCPSocketLayer.ConnectThread () [0x00000] in <filename unknown>:0 
[SFS - INFO] You are not connected

Re: IPv6 connection problem

Posted: 08 Jun 2016, 16:51
by Bax
Is your server publicly available? If yes, can you provide its IPv6 address (via email or private message) so we can try to connect from our office and debug the issue?
Can you also please send your /config/server.xml file?

Re: IPv6 connection problem

Posted: 09 Jun 2016, 06:40
by aliko
Details sended from contact us section.

Regards

Re: IPv6 connection problem

Posted: 09 Jun 2016, 09:59
by Bax
For people reading this post, it turned out that the issue is not related to SFS. Take a look at this post for more information: http://forums.smartfoxserver.com/viewto ... 18&t=18486

Re: IPv6 connection problem

Posted: 14 Jun 2016, 09:01
by aliko
Hello,

Problem solved.
The problem is connecting to ip, it should be domain not ip.

Thank you very much Smartfoxserver for their great support!
Regards