Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira and Bitbucket on port 80/443 same server

Ryan Tarson January 22, 2019

So I have a server that I want to load both Jira and Bitbucket both are strictly running just apps. I have another server that is serving as the database server.

I want to know if it is possible on ubuntu 18.04 to load both JIRA and Bitbucket on the same server but also running the same port numbers?

 

 

1 answer

1 accepted

0 votes
Answer accepted
Shankar Asam {Appfire}
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.
January 22, 2019

Hi Ryan,

You can't assign the same port to two different applications. You will end up with the port already in use issue. The best way is to use some web server or reverse proxy as front-ended to your applications. All your incoming calls will be first routed to this web server or reverse proxy (running on either port 80 or 443) and from there those requested will be routed or proxied to either JIRA or Bitbucket on their respective ports backend(Ex: 8080 for JIRA and 7990 for Bitbucket).

You must also create DNS record for each application and that should point to this front ended web server or reverse proxy.

Please visit this Atlassian article for further information:-

https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html

 

Thanks

Shankar

Suggest an answer

Log in or Sign up to answer