Problem with bluebox connection (Unity3d)
Posted: 15 Jan 2011, 20:54
I am not able to make Unity application to connect to Smartfox through bluebox. At the moment I am using localhost and server is installed on the same machine. Bluebox is added to config and this page:
http://localhost:8080/BlueBox/
shows expected result.
I use SFSisland example as a base for my application.
I added these lines:
before smartFox.Connect(serverIP, Convert.ToInt32(serverPort));
I tried to set serverPort to 9338 (wrong walue to trigger bluebox connection) or 8080, but it's not working and there is no connection at all. When I set port to standard 9339 everyhing is working fine. Do I have to make any other changes?
http://localhost:8080/BlueBox/
shows expected result.
I use SFSisland example as a base for my application.
I added these lines:
Code: Select all
smartFox.blueBoxIpAddress = "127.0.0.1";
smartFox.blueBoxPort = 8080;
smartFox.smartConnect = true;
I tried to set serverPort to 9338 (wrong walue to trigger bluebox connection) or 8080, but it's not working and there is no connection at all. When I set port to standard 9339 everyhing is working fine. Do I have to make any other changes?