Companies and firewall ports

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?

Thank you,

timgerr

Hi Tim,

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.

HTH,

daryl

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.

What is HTTP-Bind and how does that work with port 80?

Thanks for the help,

Timgerr

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?

Thanks,

timgerr

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?

Thanks,

tim

Hi,

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.

daryl

Has anyone ever use iptables to forward ports or know thow to do so?

thanks,

timgerr

Hi,

Attached is a simple code you can compile and use to bounce a port around.

./bounce 80 localhost 5223

for example

daryl

Hi Tim,

searchig the forum does sometimes help --> http://www.igniterealtime.org/community/message/95938#95938

LG

I say that post about a week ago and could not find it again. Thanks for the help

Will it go back out port 80 too?

Thanks

timgerr

sure