Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on a Silverlight app hosted on IIS 6 (Windows Server 2003), which talks to a web service on a JBoss app server (JBoss 4.2.2 also on Windows Server 2003). The Silverlight app is only used on the LAN, so it's addressed with a URL like so: http://machinename:88/

I created a crossdomain.xml file for the JBoss server (as required by Silverlight) in ...\server\default\deploy\jboss-web.deployer\ROOT.war with the following text:

<?xml version="1.0" ?>
  <site-control permitted-cross-domain-policies="master-only"/>
  <allow-access-from domain="machinename"/>
  <allow-http-request-headers-from domain="machinename" headers="*"/>

I get errors from Silverlight until I replace "machinename" with "*". I also tried "machinename:88" with the same results as without the port. How are you supposed to specify the domain, when the URL is just the machine name and a port?

share|improve this question
up vote 0 down vote accepted

It's expecting the domain to be fully qualified. Since your machinename is not a fully qualified domain name, it's failing on the check, and won't work unless you use something like machinename.local to access the site.

Your only solution in this scenario is to use "*". I'm guessing that won't be an issue anyway, because you're probably only working on a secure internal network with such a machine name.

share|improve this answer
Okay, I had a feeling that might be the only solution, but I just wanted to make sure I wasn't missing something. Thanks. – Dov Aug 22 '11 at 16:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.