The request is to change port number of jenkins site as the default port 8080 is not allowed inside our organization.
Hence I have changed the port to 6052 or 9999 but the site is not accessible , if I change back the default port 8080 or 8088 the site is working ..
Can anyone advise what could be the reason?? Is anything else I should do
I have altered the settings in /etc/sysconfig/jenkins /lib/systemd/system/jenkins.service
You need to change
Jenkins URLsetting underManage Jenkins - System Configuration - Systemfirst. Jenkins often runs behind a reverse proxy and can't make assumptions about its url.