Browse Source

init

master
zhangzhiqiang 2 years ago
parent
commit
abbe99caac
  1. 3
      nladmin-system/nlsso-server/src/main/java/org/nl/config/arthas/TunnelServerConfiguration.java

3
nladmin-system/nlsso-server/src/main/java/org/nl/config/arthas/TunnelServerConfiguration.java

@ -34,6 +34,9 @@ public class TunnelServerConfiguration {
tunnelServer.setPort(arthasProperties.getHttpPort()); tunnelServer.setPort(arthasProperties.getHttpPort());
tunnelServer.setSsl(false); tunnelServer.setSsl(false);
tunnelServer.setPath(ArthasConstants.DEFAULT_WEBSOCKET_PATH); tunnelServer.setPath(ArthasConstants.DEFAULT_WEBSOCKET_PATH);
/**
* chushihua
*/
tunnelServer.setClientConnectHost(InetAddressUtil.getInetAddress()); tunnelServer.setClientConnectHost(InetAddressUtil.getInetAddress());
if (tunnelClusterStore != null) { if (tunnelClusterStore != null) {
tunnelServer.setTunnelClusterStore(tunnelClusterStore); tunnelServer.setTunnelClusterStore(tunnelClusterStore);

Loading…
Cancel
Save