The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to run Bitbucket on port 80?

Baztheman
June 12, 2019

Hi,

Thank you for all previous replies, and I want to ask the question in a thread that is not confused with other issues.

I am trying to run BB on port 80 internally. I read about https://confluence.atlassian.com/bitbucketserver/proxying-and-securing-bitbucket-server-776640099.html#ProxyingandsecuringBitbucketServer-SecuringareverseproxyusingHTTPS (and many articles) but it seems to be a description but not instruction.

The BB that I am setting up is for internal use. Is there a simple way that I just make BB run on port 80? I have tried adding port 80 to bitbucket.properties file and then reboot. Having the init.d script, I thought it should start up as root using atlbitbucket user (as instructed in BB installation doc). However, it does not seem to work. Any tips how to make it work?

Thank you.

Barry

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
LagomDaniel
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 Champions.
June 12, 2019

If you're running on linux, you'll need to be root to be running any service on a port under 100. I would not recommend running any atlassian product as root due to the plugin framework - you'd be asking for trouble.

https://confluence.atlassian.com/bitbucketserver/securing-bitbucket-server-behind-nginx-using-ssl-776640112.html is pretty straight forward - just replace 443 with 80 and https references with http.

/Daniel

0 votes
Baztheman
June 12, 2019

All, I didnt go the route of using reverse proxy. I am focusing on making the port 80 works. I found this article that shows me how to forward 80 to 7990. It works but make sure you have access to console in case you get locked out...

https://seeq12.atlassian.net/wiki/spaces/KB/pages/116189241/Run+Seeq+on+port+80+on+Ubuntu

Now my BB is running on port 80 and everything seems to work fine. Any comments?

Thanks.

Barry

0 votes
Bastian Stehmann
Community Champion
June 12, 2019

Hi @Baztheman ,

You are right , it should work when you just change the port in the properties file.

https://confluence.atlassian.com/bitbucketserver/bitbucket-server-config-properties-776640155.html

Are there any errors or other messages in the logs  that may indicate why it does not work.

Are you behind a reverse proxy or something like that?

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events