How to ignore the port number in url

pamela guo December 12, 2012

hi all,

I installed a 5.1 version JIRA on windows 2008 server and changed the Base URL to something like: http://jira.mytest.com

However, since I set JIRA service on Port 8080, when i try to access to JIRA, i have to enter http://jira.mytest.com:8080 in my browser address box.

Anyone knows what i need to do, so users don't need to enter the port number?

Thank you in advance.

3 answers

1 accepted

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2012

Changin base url won't change how it actually works. You will have to either run the application on port 80 or do some apache/IIS reverse proxy setup that makes it available on port 80.

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2012
pamela guo December 12, 2012

Thank you for your reply. Could you provide me more details? I dont have IIS or apache installed. Tomcat comes with JIRA installation. What can I do now?

pamela guo December 12, 2012

Hi Jobin, I have read the document serveral time, but still not understand it well.

According to the doc, Apache 2.2 must be installed, correct?

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2012

Yes, you need Apache.

1 vote
C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2012

you need to do something like this:

https://answers.atlassian.com/questions/111216/jira-port-issue/111247

just create a vhost conf file and add something like

<Proxy *>
Order deny,allow
Allow from all
</Proxy>
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
<Location />
Order allow,deny
Allow from all
</Location>

this is how i did it...depends on the connector you are using..

if you don't use ajp this can be easily changed to http also. edit to fit your installation...

i.e. if you use http and port 8080 it will look like

ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/

0 votes
Joe Pitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 12, 2012

I believe you can add the port number to the DNS entry pointer

pamela guo December 12, 2012

Thank you for your reply. Could you provide me more details? How to add it?

Sameera Shaakunthala [inactive]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2012

This has nothing to do with DNS. :)

Suggest an answer

Log in or Sign up to answer