I am running java on linux OS,
The only thing in my code is to ask host address. Code as belows,
String address = InetAddress.getLocalHost().getHostAddress();
And it returns UnknownHostException with "sdk-test:sdk-test" description.
Can anyone answer my question? Why can't I get my host address?
Thanks in advance.