I am trying to do performance monitoring of bitbucket staging server and followed instructions on https://confluence.atlassian.com/bitbucketserver0413/enabling-jmx-counters-for-performance-monitoring-873875206.html
Despite following instructions from above, JConsole login window keeps complaining "Connection failed: Connection refused". Not sure why. I tried with FQDN, IP address but in vain.
Please advise
There are a few things to do to make it work:
* start bitbucket with -Djava.rmi.server.hostname=`hostname -f` (Linux)
* if you use ssl, you may have to import your CA's root certificates into the Java trusstore, if you use a corporate CA
* if you use proxy settings, make sure you excluded local traffic, or your proxy can handle JMX
* you may have to configure JMX role to user mappings on the server (jmxpassword.properties)
* use the correct user name when autenticating with JMX
Also make sure that hostname -f actually prints the FQDN of the server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Mike. I tried all what you suggested but in vain.
The host running bitbucket is not behind a firewall.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AI is reshaping the dev experience, with faster builds but adding more friction. See what 3,500 developers and managers say about productivity, tools, and team alignment in Atlassian’s State of Developer Experience report 2025.
Explore the report
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.