Forums

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

Unable to change Bitbucket server port

Hendrick H
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2018

Hi, I am trying to start a bitbucket server through an AWS instance, but it doesn't seem to start even though I have obtained the following message:

"

Starting Atlassian Bitbucket as the current user

Starting bundled Elasticsearch
Hint: Run start-bitbucket.sh --no-search to skip st arting Elasticsearch
Bundled Elasticsearch started successfully

Bitbucket is being run with a umask that contains potential ly unsafe settings.
The following issues were found with the mask "u=rwx,g=rx,o =rx" (0022):
- Access is allowed to 'others'. It is recommended that 'o thers' be denied
all access for security reasons.
The recommended umask for Bitbucket is "u=,g=w,o=rwx" (0027 ) and can be
configured in _start-webapp.sh

The current open files limit is set to less than 4096
Attempting to increase limit...
Limit increased to 4096 open files

Starting Bitbucket webapp at http://localhost:7990
The Bitbucket webapp has been started.

If you cannot access Bitbucket within 3 minutes, or encount er other issues, check the troubleshooting guide at:
https://confluence.atlassian.com/display/BitbucketServerKB/ Troubleshooting+Installation

"

Checking netstat, it doesn't appear that the Bitbucket server has been started yet.

Would you be able to offer any advises please?

 

Thanks,

H

1 answer

0 votes
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 27, 2018

Hi @Hendrick H,

Here are my inputs.

 

Startup issue

Which AWS instance type are you selecting?

Let's also have a look at the $BITBUCKET_HOME/log/atlassian-bitbucket.log to see if there are any errors and content at all?

 

Changing the default port

From the console output, it seems that Bitbucket Server is attempting to start up on its default port (7990).

If are looking to change that to a different value, you can configure the following property in the bitbucket.properties file:

server.port=7980

 

Cheers,

Caterina - Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events