# XML.load - specifying port in the path

**URL:** <https://forum.kirupa.com/t/xml-load-specifying-port-in-the-path/204129>\
**Category:** flash\
**Created:** [October 17, 2006, 11:18am UTC](https://forum.kirupa.com/t/xml-load-specifying-port-in-the-path/204129 "2006-10-17T11:18:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcusjw](https://avatars.discourse-cdn.com/v4/letter/m/7ba0ec/32.png) [@marcusjw](https://forum.kirupa.com/u/marcusjw)\
**Post date:** [October 17, 2006, 11:18am UTC](https://forum.kirupa.com/t/xml-load-specifying-port-in-the-path/204129/1 "2006-10-17T11:18:57Z")

</div>

Hi,

I have stumbled across a problem when loading XML via an external address using Firefox. Consider the following code:

```auto

var my_xml:XML = new XML();
my_xml.ignoreWhite = true;
my_xml.load("http://www.mydomain.com/test.xml");
my_xml.onLoad = function(success:Boolean) {
    trace(my_xml);
}

```

This works fine in all browsers. However, if I modify the target path to include a port number (even the default port 80), it doesn’t work in Firefox. It works normally in IE.

So the path could be: “[http://www.mydomain.com:80/test.xml](http://www.mydomain.com:80/test.xml)”, and it won’t work in Firefox. No response.

Does anyone have any suggestions how to overcome this problem in Firefox? I need to be able to specify different ports (I just used port 80 as an example).

thanks  
Marcus.
