What's the best way to run multiple applications on the same server without showing ports?

David Shak August 27, 2012

Hello,


I'm just curious to the best way to install jira, confluence, and crucible/fisheye on the same server while none of them needed to expose ports to the client.

Something like:

http://confluence.servername/

http://jira.servername/

http://crucible.servername/

or

http://servername/confluence

http://servername/jira

http://servername/crucible

Would be perfect.

Specs:

Currently running Windows Server 2008 R2

All apps are currently running under their preferred ports.

I've come across a few solutions but nothing that seemed really clean.

Thanks,

Chris

3 answers

0 votes
Kemal Bajramovic August 21, 2013

Hi David,

have you managed to find a solution? My issue is the same as your, except I'm dealing with JIRA and Confluence only.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 28, 2012

I've used both of those schemes, and there really is nothing to distinguish them technically. They both have minor quirks in their configuration, but the simple answer is "do whichever works better within your organisation"

For running them on the same server, that's also fine, with the caveats that

  1. The server is hefty - they all consume resources, and you'll want to allocate lots to all of the services, especially memory.
  2. I won't repeat what Giuliano already answered, it's exactly what I do - expose the services on whatever ports I feel like on the server, firewall everything off the server so you can't hit them externally and then proxy/vritual-host the whole lot through Apache. You can use Nginx or IIS or others to do that as well, and again, the advice there is to use the one that your organisation is most familiar/comfortable with.
  3. Make sure you run SEPARATE Tomcats (or whatever other app server you are using) for each application. Atlassian don't recommend it (and I don't either, after a number of annoying problems. Certainly never whack a Jira and a Confluence into the same container!)
0 votes
Giuliano C.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 28, 2012

Hello,

Can you please follow this documentation that talks about the use of Apache with mod_proxy? Bear in mind that this documentation is related to Confluence. But, you can follow these steps if you want to configure other applications.

https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy

It could help you to run multiple applications without showing ports.

Cheers

Matt
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.
August 28, 2012

As Guiliano said you may look at Apache configuration.

Try with Virtual Hosts. As far as i can see it is the easiest option by far.

Kemal Bajramovic August 21, 2013

I have exactly the same situation like David. I think that instructions provided in "Using Apache with mod_proxy" from Confluence documentation don't apply here because it assumes that we have Apache installed on server. I searched the server and Apache httpd.conf could not be found.

Am I missing something?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 21, 2013

You're missing an Apache installation from what I can make out. That's something you choose to install, it's nothing to do with Jira or Confluence directly.

It's usually not installed on most machines by default, so you'll need to install it. Or use IIS or nginx etc.

Suggest an answer

Log in or Sign up to answer