Page 1 of 1

Blue Box ip and Port change

Posted: 03 Feb 2011, 07:47
by sankarganesh86
Hi,
I am using public ip in my firewall that is --- 61.12.x.x
and i have a system with private ip ---- 10.0.0.26
i install the smartfox in 10.0.0.26 ip

and i assiged the 7002 port for smartfox in firewall
so if we type http://61.12.x.x:7002 in browser, smartfox page is
opening fine....

And i change the port address for the smartfox from 9339 to 10000 in config.xml file

i make a connection with smartfox using flash
smartFox.connect("61.12.x.x", 10000);

If i compile the SWF i am getting

below Error:

[ Send ]: sfsHttp=connect
[ Send ]: sfsHttp=connect
Error opening URL 'http://61.12.x.x:8080/BlueBox/HttpBox.do'
HttpError
Connection Failed
Error opening URL 'http://61.12.x.x:8080/BlueBox/HttpBox.do'
HttpError
Connection Failed

In the blue box property file i Changed the content

# You can point the browser to -> http://HostName:Port/BlueBox/HttpBox.go?debugCmd=main


# You can point the browser to -> http://61.12.x.x:7002/BlueBox/HttpBox.go?debugCmd=main

But still i get the same error

i try both way with ash symbol(#) and without ash symbol (#) in blue box property file , but i get the same error only in both times.

How to change the blue box ip and port address ....??

Posted: 03 Feb 2011, 16:51
by BigFIsh
Have you had a look at this thread: http://www.smartfoxserver.com/forums/viewtopic.php?t=5149 ?