|
@@ -526,7 +526,7 @@ public class FederationMetrics implements 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();
|