|
@@ -594,7 +594,7 @@ public class RBFMetrics implements RouterMBean, FederationMBean {
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public String getHostAndPort() {
|
|
public String getHostAndPort() {
|
|
- InetSocketAddress address = this.router.getHttpServerAddress();
|
|
|
|
|
|
+ InetSocketAddress address = this.router.getRpcServerAddress();
|
|
if (address != null) {
|
|
if (address != null) {
|
|
try {
|
|
try {
|
|
String hostname = InetAddress.getLocalHost().getHostName();
|
|
String hostname = InetAddress.getLocalHost().getHostName();
|