Flash policy file/scokets

Hello,
Ive developed a socket java server along with flash client chat. Everything works fine on my local host and with some of my friends but in some cases the connection cannot be established. For example when a friend of mine tried accessing the chat, he connected and immediatelly disconnected. Im not sure but I think it has something to do with the policy file which I dont think I set up properly. Does anyone know what may be the reason for the strange disconnections?

thanks

EDIT:

you can see my chat at: belox.gotdns.com:8000/chatClient.html