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

Stash to listen to port 443

RGC August 24, 2015

Hi

I am currently using Stash and configured it to listen to port 8443 with SSL.. (Not installed as a root) 

Because of the network issue..

I want it to listen to 443 rather than 8443..

 

Is there a way I can do this? I ready a documentation and it looks like I have to install it as a Root... but again.. I didn't do that..

 

only thing did was touch the Serval.xml file and configured it to use HTTPS using 8443..

 

If possible.. I want to use 8443 but also listens to 443..

If not I want it to run on 443 but it is not working.. 

2 answers

0 votes
JamieA
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 25, 2015

As Rich says, you can use apache, or firewall rules.

But you don't want it to listen on "both"... the users will be switched when they click on certain links and may need to log in again.

If you want continuity of service, change the stash server port to something completely new, say 5555. Then proxy 443 to 5555 using apache, and also have apache listen on 8443 and redirect to 443.

0 votes
Rich Duncan
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 24, 2015

You can accomplish this using a reverse proxy.  The following shows how to do this with Apache HTTPD:

 

https://confluence.atlassian.com/stash/securing-stash-with-apache-using-ssl-364609803.html

 

-Rich

http://atlassian.bds.com

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events