Security sandbox error

I am trying to access flv from flash media server which is in my pc…F:/FlashServer/.

nc.connect (“rtmp://localhost/vod/”);

its throwing an error “SecurityError: Error #2123: Security sandbox violation: http://127.0.0.1/flexcfm_login/KMG_TV/KMG_TV.swf cannot access rtmp://localhost/vod/. No policy files granted access.”

http://127.0.0.1 : it is coldfusion server ip.

I put an crossdomain.xml file in F:/FlashServer/

<?xml version=“1.0”?>
<!DOCTYPE cross-domain-policy
SYSTEM

http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd”>
<cross-domain-policy>
<allow-access-from domain=“127.0.0.1” /><allow-access-from

domain=“http://127.0.0.1/flexcfm_login/KMG_TV/bin-debug/” /><allow-access-from domain="*"

/>
</cross-domain-policy>

Still this error is coming …

Any help is appreciated.

The crossdomain file has to be in the root of wherever your localhost is set up on the comp.