Network Interfaces


Summary

This is network information from the Java VM currently running on this server.


Detail

InetAddress

From java.net.InetAddress.getLocalHost()

Call Value
getCanonicalHostName() localhost
getClass().getName() java.net.Inet4Address
getHostAddress() 127.0.0.1
getHostName() ffi-web
isSiteLocalAddress() No
toString() ffi-web/127.0.0.1

NetworkInterface

From NetworkInterface.getNetworkInterfaces()

eth0
getDisplayName() eth0
getName() eth0
toString() name:eth0 (eth0)
InetAddress[0].getCanonicalHostName() fe80:0:0:0:8ed:1dff:fe85:bb67%eth0
InetAddress[0].getClass().getName() java.net.Inet6Address
InetAddress[0].getHostAddress() fe80:0:0:0:8ed:1dff:fe85:bb67%eth0
InetAddress[0].getHostName() fe80:0:0:0:8ed:1dff:fe85:bb67%eth0
InetAddress[0].isSiteLocalAddress() No
InetAddress[0].toString() fe80:0:0:0:8ed:1dff:fe85:bb67%eth0/fe80:0:0:0:8ed:1dff:fe85:bb67%eth0
InetAddress[1].getCanonicalHostName() ip-10-0-0-148.ec2.internal
InetAddress[1].getClass().getName() java.net.Inet4Address
InetAddress[1].getHostAddress() 10.0.0.148
InetAddress[1].getHostName() ip-10-0-0-148.ec2.internal
InetAddress[1].isSiteLocalAddress() Yes
InetAddress[1].toString() ip-10-0-0-148.ec2.internal/10.0.0.148

lo
getDisplayName() lo
getName() lo
toString() name:lo (lo)
InetAddress[0].getCanonicalHostName() ip6-localhost
InetAddress[0].getClass().getName() java.net.Inet6Address
InetAddress[0].getHostAddress() 0:0:0:0:0:0:0:1%lo
InetAddress[0].getHostName() ip6-localhost
InetAddress[0].isSiteLocalAddress() No
InetAddress[0].toString() ip6-localhost/0:0:0:0:0:0:0:1%lo
InetAddress[1].getCanonicalHostName() localhost
InetAddress[1].getClass().getName() java.net.Inet4Address
InetAddress[1].getHostAddress() 127.0.0.1
InetAddress[1].getHostName() localhost
InetAddress[1].isSiteLocalAddress() No
InetAddress[1].toString() localhost/127.0.0.1