There’s nothing special about the port numbers. You can have HTTPS run over 8443 or 8080 or 2345 if you want.
Or, do you want to have Jira run over HTTPS over both 8080 and 8443 at the same time? I don’t think you can do that, but there’s really no reason to. Just turn off the HTTP version and run only the HTTPS version.
Thank you so much for your answer.
What exactly do I need to change here?
redirectPort="8443" //Can I remove this?
<Connector port="8443" //Can I just change it to 8080?
It looks like the way it’s setup now, http://mydomain.com:8080(unsecure) should redirect to https://mydomain.com:8443(secure). That actually doesn’t seem so bad. What is actually happening when you go to http://mydomain.com:8080now?
But if you like, you could just remove the whole connector element for port 8080 (that’s the first one) and change the 8443 in the second connector element to 8080. That should make port 8080 serve Jira over HTTPS, and nothing would run over port 8443.
That is correct. When you remove the whole connector element for port 8080, then http://mydomain.com:8080will not be accessible. When you change the second connector element from 8443 to 8080, then https://mydomain.com:8080will be accessible. But you can’t have HTTP and HTTPS run over the same port.
Now, you may notice that if you go to http://jira.atlassian.com, you are redirected to https://jira.atlassian.com. But remember, they are actually running on different ports. You’re actually going to http://jira.atlassian.com:80and you are being redirected to https://jira.atlassian.com:443. Your web browser knows that 80 and 443 are the default ports for HTTP and HTTPS and doesn’t show them.
In Unix-based systems, you need to run as root to bind to ports 80 and 443. I don’t know if Windows has a similar restriction.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot