views:

283

answers:

1

How is a file hosted on one particular port vs another port? In order to get my flex program to do anything, even on localhost, I apparently have to accomplish this, but although I know how to FTP my crossdomain.xml to my GoDaddy server, I don't even begin to understand the meaning of hosting it on port 843. I don't even know where to start. Can anybody here even get my foot in the door?

Thanks in advance.

+1  A: 

It means that you need to create a website that listens to that port, and then serve the file from that website.

Gabriel McAdams
The way that I create a "website" is by uploading html and php to my server, how do I control what "port" that is "served" from?
Joshua
That is not creating a website. That is uploading content to an existing website. Since you are talking about a hosting company, I think they are the best resource for this.
Gabriel McAdams
Well how would I go about doing it on localhost for example?
Joshua
it depends on your system. If you're running windows server, and IIS, then you can create a new website, and specify the port in the properties window. I'm not sure how to do it in Linux.
Gabriel McAdams
Using Apache, add `Listen 843` to `httpd.conf`.
mark4o