I downloaded atlassian-bitbucket-4.11.0-x64.bin and installed it on a Linux box. But I need to modify the default port. On the https://confluence.atlassian.com/bitbucketserver/changing-the-port-that-bitbucket-server-listens-on-776640049.html it says:
edit the shared/server.xml
file in the <Bitbucket home directory>
.
Bu the issue is I don't see any server.xml file. I do see
/opt/atlassian/bitbucket/4.11.0/conf/.default-server.xml, I made the change as expected and restarted the atlbitbucket server, but the java process is still listening on port 7990. I also copied this .default-server.xml to server.xml, default-server.xml and restart the bitbucket, still the same. Do I miss something?
Also I see scripts.cfg has a line
bitbucket_httpport=7990
What is this file for? I changed the port here too, but I only see the onscreen meessage changed when I start the bitbucket.
Hi Bill,
If you installed Bitbucket Server with the installer, the default <BITBUCKET_HOME>
should be: /var/atlassian/application-data/bitbucket/shared/
. This directory is deployed by default by the installer. Could you please have another look?
None of the other files you mentioned should be changed.
The directory you pointed out is the <BITBUCKET_INSTALLATION>
one.
Hope that helps.
Best regards,
Thiago Bomfim
Atlassian Support
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.