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() | andromeda |
| isSiteLocalAddress() | No |
| toString() | andromeda/127.0.0.1 |
NetworkInterface
From NetworkInterface.getNetworkInterfaces()
| eth1 | |
|---|---|
| getDisplayName() | eth1 |
| getName() | eth1 |
| toString() | name:eth1 (eth1) index: 2 addresses: /fe80:0:0:0:216:76ff:feba:c61a%2; /192.168.1.106; |
| InetAddress[0].getCanonicalHostName() | fe80:0:0:0:216:76ff:feba:c61a%2 |
| InetAddress[0].getClass().getName() | java.net.Inet6Address |
| InetAddress[0].getHostAddress() | fe80:0:0:0:216:76ff:feba:c61a%2 |
| InetAddress[0].getHostName() | fe80:0:0:0:216:76ff:feba:c61a%2 |
| InetAddress[0].isSiteLocalAddress() | No |
| InetAddress[0].toString() | fe80:0:0:0:216:76ff:feba:c61a%2/fe80:0:0:0:216:76ff:feba:c61a%2 |
| InetAddress[1].getCanonicalHostName() | 192.168.1.106 |
| InetAddress[1].getClass().getName() | java.net.Inet4Address |
| InetAddress[1].getHostAddress() | 192.168.1.106 |
| InetAddress[1].getHostName() | 192.168.1.106 |
| InetAddress[1].isSiteLocalAddress() | Yes |
| InetAddress[1].toString() | 192.168.1.106/192.168.1.106 |
| lo | |
|---|---|
| getDisplayName() | lo |
| getName() | lo |
| toString() | name:lo (lo) index: 1 addresses: /0:0:0:0:0:0:0:1%1; /127.0.0.1; |
| InetAddress[0].getCanonicalHostName() | ip6-localhost |
| InetAddress[0].getClass().getName() | java.net.Inet6Address |
| InetAddress[0].getHostAddress() | 0:0:0:0:0:0:0:1%1 |
| InetAddress[0].getHostName() | ip6-localhost |
| InetAddress[0].isSiteLocalAddress() | No |
| InetAddress[0].toString() | ip6-localhost/0:0:0:0:0:0:0:1%1 |
| 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 |