Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hosting all services from a single port (8080)

I'm running my products from within a VM with tight control over all http ports (they're all blocked, except 8080). Is it possible to host my services like so:

myserver:8080/jira

myserver:8080/confluence

myserver:8080/...

I'm aware they can be configured to run on :80, but was wondering if the same would apply for 8080. Note that I can't run confluence from 8090 because it's blocked.

2 answers

1 accepted

3 votes
Answer accepted
itse Atlassian Team Mar 09, 2013

You can host more than one application on any sinle port even with a conext path. If you have JIRA running on default 8080 already then Confluence set to 8080 won't start because the port is already in use.

If you want to host all applications from one port then you'll need to run your applications behind a web proxy. A popular web proxy you should look into is Apache HTTP server. We have some documentation that help you guide a bit through the seutp of a web proxy server.

https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache

After getting JIRA setup, you'll need to setup the other applications in the same way. They will need to be started on different ports, but since you're running begind a web proxy, all traffic will be caught by the proxy server then forwarded to the intended locations.

What I did was create a new file in /etc/httpd/conf.d/atlassian.conf with content:

<IfModule mod_proxy_http.c>

    ProxyRequests Off
    ProxyPreserveHost On

    # Confluence
    ProxyPass /confluence http://localhost:8090/confluence
    ProxyPassReverse /confluence http://localhost:8090/confluence

    # JIRA
    ProxyPass /jira http://localhost:8080/jira
    ProxyPassReverse /jira http://localhost:8080/jira

</IfModule>

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Expose your beautifully crafted Dashboard through the Jira Service Desk Customer Portal

  A picture is worth a thousand words, especially when you're trying to find relationships and understand your data. Here, Dashboards play a vital role in gaining insights from a variety of dat...

376 views 5 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you