Tell as what you want to achieve. I mean how you want to connect to a server (internal, external) and where the server will be as i dont uderstand currently why you should open any ports? Do you want to have server in school and to be able to connect to it from the Internet?
The ports you are mentioning a the low ones and they are reserved for the other services (SSL, FTP), maybe that’s why Openfire is not accepting them. Also, i may be wrong but you can broke something on your network by using these ports for the Openfire (few services on the same port, conflicts). If you’ll be able to redirect it to port 21 then maybe the school’s ftp will stop working for the external users.
Anyway, i dont understand what is your network setup right now and we need more info about that.
Alright, the openfire server is currently hosted externally. Outside of my school. The school blocks ports, hence leaving me unable to connect to the openfire server on the default port of 5222.
I would like the openfire server to listen on either port 21 or port 443 to enable the connection from school to the openfire server, hosted externally =p
Hosting the openfire server on lets say, port 21, will not affect my school in anyway.
I’m running my test server on a windows box with admin rights and i was able to change client port to 21. So this is a one workaround - to run Openfire with root, though i dont know how this will act on a linux box. I know this is not security wise, but as a workaround… Also you can try this just to make sure you will have a successful connection. Maybe there are more blocks in the way.
I am also working in my school. They have simiary blocked all ports except 21 and 443. How did you find a workaround. The link in your answer leads to nowhere .