Socket policy file

hello,
I ahve written a java socket server to connect my flash clients to. I have my java server send my policy file:
<cross-domain-policy><allow-access-from domain=’*’ to-ports=‘6666’ /></cross-domain-policy>

whenever it gets a <policy-file-request /> . However when i upload my flash client to a website and point the IP adress and port to my server I get a security sandbox violation error:

Error #2048: Security sandbox violation: [COLOR=#333333]http://rainer.joolo.com/DrawBoard.swf[/COLOR] cannot load data from 98.199.***.***:6666.

The strange thing is that it worked a week ago, and suddenly it stopped working. In the last week my ip has changed, and i had to reinstall flash player. I dont see why installing the latest flash player should give me the error.
If anyone knows why this could be a problem, please help.