So somehow flex only takes the local part of the host name.
This works because on my computer ourdomain is the default domain.
On some computers within the company network this is not the case
and so it fails. Is this a flex bug? Or is there a workaround?