Odd connection problem

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
kleelof
Posts: 33
Joined: 11 Oct 2008, 02:22

Odd connection problem

Post by kleelof »

Hello,

I have a very odd situation here.

I am developing an application for a client. On my system, it connects as it should, but on his, it does not.

He is able to use the SFS examples which all connect to IP 127.0.0.1:9339, so is this application.

I know noone will be able to give me a specific answer to what is wrong, but if anyone has some ideas of things to check, I'd appreciate it.

take care,
lee
kleelof
Posts: 33
Joined: 11 Oct 2008, 02:22

Paritial Solution

Post by kleelof »

Hello,

Ok, so we figured out the problem was that the client is doing everything on a local machine, so I changed 'Local Playback Security' in the Publish settings to 'Access Network ONly'. Now it will connect, but it cannot load the local 'config.xml' file with the IP, Port and ZOne info.

take care,
lee
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Are you testing with the standalone flash player or in the browser?
Lapo
--
gotoAndPlay()
...addicted to flash games
kleelof
Posts: 33
Joined: 11 Oct 2008, 02:22

Connect problem

Post by kleelof »

Hello,

We have been using both.

lee
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Ok,
but they are two different things.
The "File Only"/"NetWork" only settings only apply to the standalone Flash Player. The standalone Flash Player can be configured with local permissions to have access to your local files etc. See here:
http://www.macromedia.com/support/docum ... nager.html

As regards the Flash Player running in the browser you should simply load the policy file from the socket server as explained here:
http://www.smartfoxserver.com/whitepape ... index.html
Lapo
--
gotoAndPlay()
...addicted to flash games
kleelof
Posts: 33
Joined: 11 Oct 2008, 02:22

...

Post by kleelof »

Hello,

Thanks.

lee
Post Reply