Socket Connection

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax

vatsal.inx
Posts: 2
Joined: 14 Mar 2014, 08:11

Socket Connection

Postby vatsal.inx » 25 Jun 2014, 07:49

Hello

I have install new SFS server but i every time I connect with this i am able connect with HTTP only.

I want to connect with socket so I would like anyone help for that.

Thanks in advance.
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Socket Connection

Postby Lapo » 25 Jun 2014, 08:07

It depends on the server configuration.
Once the server is installed it will listen on 127.0.0.1 (localhost) on port 9933.

If your client is using another address to connect but you haven't configured the server to listen on it, it won't work.

Make sure you follow the post-installation steps described here:
http://docs2x.smartfoxserver.com/Gettin ... stallation
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 21 guests