[GUIDE] Step-by-Step check and Bluebox Connection Test
Posted: 20 May 2009, 07:30
1. Check that your bluebox is enabled - use Admin tool.
- if not enabled, you can use the admin tool to enable it or set your WebServer to true in your server's config.xml file
2. Check your "jetty.port" value in jetty.xml ("path to your sfs"\Server\webserver\cfg)
3. Restart your server if needed to.
4. Now check your SmartFoxClient.as configuration for your client's API. (via your API\it\gotoandplay\smartfoxserver) Look for this line --> public var httpPort:Number. You only need to set this if you don't have a config.xml file associated with your flash application (which defines the http port number)
5. If your computer is behind a router, forward your http port to your computer.
6. Make sure your firewall isn't blocking your http port
and connect..
7. there should be a slight delay in connection (this is normal) as the server is trying to connect to the server using the normal port. If this fails, it will try and connect using bluebox (http) port.
To test this on your computer.
- don't block the port using your router. I got an java error (java.net.ConnectException: Connection refused: connection)
- use external IP address
Either:
- use your firewall to block port your normal port or
- change the port to something else (on client .as or config.xml or server - config.xml)
If successfully connected to bluebox, you should see a user logged in via Bluebox Monitor which can be found in your AdminTool.
Hope this helps.
- if not enabled, you can use the admin tool to enable it or set your WebServer to true in your server's config.xml file
2. Check your "jetty.port" value in jetty.xml ("path to your sfs"\Server\webserver\cfg)
3. Restart your server if needed to.
4. Now check your SmartFoxClient.as configuration for your client's API. (via your API\it\gotoandplay\smartfoxserver) Look for this line --> public var httpPort:Number. You only need to set this if you don't have a config.xml file associated with your flash application (which defines the http port number)
5. If your computer is behind a router, forward your http port to your computer.
6. Make sure your firewall isn't blocking your http port
and connect..
7. there should be a slight delay in connection (this is normal) as the server is trying to connect to the server using the normal port. If this fails, it will try and connect using bluebox (http) port.
To test this on your computer.
- don't block the port using your router. I got an java error (java.net.ConnectException: Connection refused: connection)
- use external IP address
Either:
- use your firewall to block port your normal port or
- change the port to something else (on client .as or config.xml or server - config.xml)
If successfully connected to bluebox, you should see a user logged in via Bluebox Monitor which can be found in your AdminTool.
Hope this helps.