|
@@ -32,6 +32,9 @@ public class V4ControllerAspect {
|
|
InetAddress localHost = InetAddress.getLocalHost();
|
|
InetAddress localHost = InetAddress.getLocalHost();
|
|
String hostAddress = localHost.getHostAddress();
|
|
String hostAddress = localHost.getHostAddress();
|
|
log.info("本地ip:{}", hostAddress);
|
|
log.info("本地ip:{}", hostAddress);
|
|
|
|
+
|
|
|
|
+ String canonicalHostName = localHost.getCanonicalHostName();
|
|
|
|
+ log.info("主机名:{}", canonicalHostName);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|