# Crossdomain and chat server

**URL:** <https://forum.kirupa.com/t/crossdomain-and-chat-server/80465>\
**Category:** Uncategorized\
**Created:** [February 22, 2005, 12:01pm UTC](https://forum.kirupa.com/t/crossdomain-and-chat-server/80465 "2005-02-22T12:01:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akirasan](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@Akirasan](https://forum.kirupa.com/u/Akirasan)\
**Post date:** [February 22, 2005, 12:01pm UTC](https://forum.kirupa.com/t/crossdomain-and-chat-server/80465/1 "2005-02-22T12:01:44Z")

</div>

Hi,

I’ve finished a flash chat client that connect to a php script hosted in my server. The problem is that my flash file stands on a sub domain of the server and the IP used for the connection is the server IP. If I run the flash file locally, it works fine, but when I upload the flash file to the server, it stop working.

I’ve read in the Macromedia site that flash player 7 does not allow the flash movies to send and load data from a addres that is not the exact address of the domain that the flash file is in. So, as I’m in a sub domain, I can’t connect to the chat sever.

I’ve read that my solution would be a cross-domain-policy file, placed in the server root, that allow flash movie to communicate to the server. I contact my server and they said they created the crossdomain.xml file. But, it’s still not working.

To verify the created file, I typed the address “123.123.123.123/crossdomain.xml” (this is not the real IP) on a web borwser. I got “page not found”. Is the xml file unreadble from a browser or the file has not been created?

Anybody can help?

Thanks
