Stash to listen to port 443


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

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




0 vote

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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,045 views 1 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you