let me re-phrase my issue i posted last night.
Last night I tried to access jira using default ports i.e. 80 and 443 (by amending the server.xml port numbers) then accessing it through http://localhost:80 and https:localhost:443. But I received apache 404 error page. However, if i used any other random port it worked yesterday.
Today morning i uninstalled jira and did afresh installation and it worked. jira could then be accessed through all ports inc 80 and 443.
This now confirms that it was nothing to do with firewalls.
Any idea what may have been the root cause of the issue?
PS: I have a standalone installation on windows server.
I would take a look at either this guide https://confluence.atlassian.com/display/JIRA052/Integrating+JIRA+with+Apache+using+SSL or
When you say apache 404 page do you mean the apache tomcat or are you running an apache httpd in front of jira? If you are running httpd, then you need to add your mod_proxy or mod_jk setting to the ssl vhost config in the httpd-ssl.conf file.
It seems i have managed to resolve it. I uninstalled the jira and performed a fresh installation, patched the old server.xml. It then started accepting the default ports i.e. 80 and 443.
But I am still unclear on why the webserver did not respond to 80 and 443 yesterday although it was responding to all other random ports. Any idea>
I think that the defaut connector config in the server.xml was taking over.
<Connector port="8080" disableUploadTimeout="true" acceptCount="100" redirectPort="8443" useBodyEncodingForURI="true" protocol="HTTP/1.1"
maxHttpHeaderSize="8192" enableLookups="false" connectionTimeout="20000" minSpareThreads="25" maxThreads="150"/>
You said it was working on port 8443 which is defined in the default connector as redirectPort. The Tomcat manual says this about the redirectPort:
"If this Connector is supporting non-SSL requests, and a request is received for which a matching <security-constraint> requires SSL transport, Catalina will automatically redirect the request to the port number specified here." link
It would seem that tomcat was picking up 8443 as the ssl port, not 443. I would guess that you could change the redirectPort to 443, configure the ssl options, and it would work. 8443 is the defualt value from the Tomcat project because, ports under 1024 on unix must be run under a root user.
Also, I think that post in the low range below 1024 are restricted, hence You need to run jira as root (not as jira) to use them, see this old link:
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs