IPv6 connection problem

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

aliko
Posts: 117
Joined: 09 Mar 2013, 16:26

IPv6 connection problem

Postby aliko » 08 Jun 2016, 14:45

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
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: IPv6 connection problem

Postby Bax » 08 Jun 2016, 16:51

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?
Paolo Bax
The SmartFoxServer Team
aliko
Posts: 117
Joined: 09 Mar 2013, 16:26

Re: IPv6 connection problem

Postby aliko » 09 Jun 2016, 06:40

Details sended from contact us section.

Regards
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: IPv6 connection problem

Postby Bax » 09 Jun 2016, 09:59

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: viewtopic.php?f=18&t=18486
Paolo Bax
The SmartFoxServer Team
aliko
Posts: 117
Joined: 09 Mar 2013, 16:26

Re: IPv6 connection problem

Postby aliko » 14 Jun 2016, 09:01

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

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 20 guests