I am trying to change the Jenkins port from default 8080 to port 80.
so I modified the file /etc/sysconfig/jenkins
and changed the variable JENKINS_PORT="8080"
to JENKINS_PORT="80"
.
after changing the port I restarted jenkins service by systemctl restart jenkins
and the service status was Active: active (exited)
.
I changed the port back to 8080
and after restart the service status was Active: active (running)
which is good, I also tried to change the port to 8081 and the service status was Active: active (running)
as well, just when I am trying to use port 80 the service status is Active: active (exited)
.
I tried to verify if port 80 is in use using netstat -pnltu | grep -i "80"
and the port not in use, I tried to configure port 83 just for testing and I get the same behavior as port 80 configured (Active: active (exited)
)
Am I missing something here?