I am creating a Adobe Flex application that will incorporate an XMPP client. The problem is that most corporations dont have the correct ports on the firewall open to use the application. Can I configure the Openfire server to use port 80?
What is a good way for all to connect to the openfire server?
You could configure openfire XMPP to use port 80, but you will probably then run into proxies that will block the ‘strange’ traffic going over the port. A better bet is to setup http-bind and take advantage of the upcoming goodies/support in the Openfire 3.6.0 release.
http-bind is one method. I would stick with the standard ports though. Just include a disclaimer about what ports are required, or allow for a config file similar to SparkWeb where the user could override the defaults.
I heard that iptables will work. Can someone help me with this? I need to have port 80 come into my server and then redirected to 5223 and the from 5223 to 80. Does anyone have this code?
I have been reading that in order for you to get the server to run on port 443 the server has to run as an admin, not sure what this means. Can somone explain?
Port numbers less than 1023 or so are known as priviledged, so you need to have special priveledges to have an application listen on those port numbers. So to use port 443, you have to run as root. There are ways around this, but I can’t recall those off the top of my head.