Page 1 of 1

SimpleChat example can't connect

Posted: 12 Jan 2011, 16:01
by mattupstate
I can connect to SmartFox on localhost:9339 with the admin tool just fine. But the Android SimpleChat example can't connect via 10.0.2.2:9339. Just getting this error in LogCat...


01-12 12:31:21.564: WARN/SmartFoxClient(263): Socket Error: Could not establish a connection!
01-12 12:31:21.564: WARN/SmartFoxClient(263): java.lang.Exception: Could not establish a connection!
01-12 12:31:21.564: WARN/SmartFoxClient(263): at it.gotoandplay.utils.net.xmlsocket.XMLSocket.connect(XMLSocket.java:68)
01-12 12:31:21.564: WARN/SmartFoxClient(263): at it.gotoandplay.smartfoxclient.SmartFoxClient.connect(SmartFoxClient.java:1223)
01-12 12:31:21.564: WARN/SmartFoxClient(263): at it.gotoandplay.example.android.SimpleChat.SimpleChat$2.run(SimpleChat.java:167)


I know this probably sounds like a total n00b question but I just wanted to put it out there and see if anyone might know a quick fix.

Mind you this is on OS X

Thanks