Forums

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

How to Change Bitbucket 6.4.0 default port (7990) ?

Erick Dominguez July 19, 2019

Hello everyone

I would like to change the default 7990 to port 8080 or to some other port, but I am not able to change it.

I installed Bitbucket 6.4.0 on Centos 7 using the tar.gz file (trial), in my company we have blocked a lot of ports including 7990.

I have read about add a line in shared/bitbucket.properties but this file doesn't exist, nevertheless I created it with no success of changing the port.

I know that probably this is a common question, I really appreciate you guidance here, thank you for your time.

2 answers

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Champion
July 19, 2019

Hi @Erick Dominguez,

Welcome to the Atlassian Community.

You need to create a bitbucket.properties file and in it you can specify which port Bitbucket should listen to. See Changing the port that Bitbucket Server listens on for more information. 

Erick Dominguez July 19, 2019

I did it, thanks a lot is taking the port 8080
My mistake was that I was creating the file on the installation/shared but the correct location is HOME-DIRECTORY/shared which is a different directory in my case

thanks for your help!

0 votes
Erick Dominguez July 19, 2019

Hi @Mikael Sandberg 

Thanks for your quick response, I did it, I created the file on the following path:

shared/bitbucket.properties

and then I added the line 

server.port=8080

nevertheless it doesn't work, is there any way to ensure that Bitbucket is taking that port?

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events