If Security enhanced server or SELinux is enabled on your sever, there is a default feature that comes equipped with Red Hat Enterprise Linux. The Red Hat Enterprise Linux is responsible for blocking every port that provides access to SSH, port 22 is an exception that is offered with this capability as default. While working with the Linux web servers, there might be instances when you have to change the SSH Port.
If you would like to utilize any other port, you will have to make some changes in the settings. He steps mentioned below will help you in terms of changing your SSH port in SELinux.