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:




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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

447 views 6 9
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