Application fails to start on 443 even after changing the port successfully - LINUX environment

Application fails to start on 443 even after changing the port successfully - LINUX environment



The attempt to change the host port to 443 fails in Linux environment. The port is not being used by any other application.

To overcome it, we can use AUTHBIND.

1.      Download AUTHBIND using below command
wget https://s3.amazonaws.com/aaronsilber/public/authbind-2.1.1-0.1.x86_64.rpm

2.      Install using below command
rpm -Uvh https://s3.amazonaws.com/aaronsilber/public/authbind-2.1.1-0.1.x86_64.rpm

3.      Change the host port to 443 by using the below command
sudo sh changehostport.sh 443

4.      Configure it to grant access to the 443 from all users and groups using below commands
sudo touch /etc/authbind/byport/443
sudo chmod 777 /etc/authbind/byport/443

5.      Start the application on 443 via AUTHBIND (Use this command to only to start the application. The rest commands does not require authbind)
authbind --deep sh app_ctl.sh run