Package org.red5.server.util
Class LocalNetworkUtil
java.lang.Object
org.red5.server.util.LocalNetworkUtil
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
LocalNetworkUtil
public LocalNetworkUtil()
-
-
Method Details
-
getCurrentEnvironmentLoopbackIp
Returns a loopback IP address.- Returns:
- the current environment's IP address, taking into account the Internet connection to any of the available machine's Network interfaces. Examples of the outputs: fec0:0:0:9:213:e8ff:fef1:b717%4 siteLocal: true isLoopback: false isIPV6: true ============================================ 130.212.150.216 siteLocal: false isLoopback: false isIPV6: false ============================================ 0:0:0:0:0:0:0:1%1 siteLocal: false isLoopback: true isIPV6: true ============================================ 127.0.0.1 siteLocal: false isLoopback: true isIPV6: false
-