What version of MySQL DB are you using? You can install Bitbucket on the same server as JIRA (even though it is not recommended, as repos can grow to be huge).
For your Bitbucket instance, make sure you have ports 7990, 7992, and 7993 open, and a new MySQL DB setup.
Remember as well, MySQL is not recommended for use with Bitbucket.
See installation documentation here: https://confluence.atlassian.com/bitbucketserver/install-bitbucket-server-on-linux-868976991.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.