{"provider_url":"https://hatena.blog","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F36528892\" title=\"\u3010Java\u3011 IP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u30db\u30b9\u30c8\u540d\u3092\u53d6\u5f97 - \u30d7\u30ed\u30b0\u30e9\u30e0 \u306e\u8d85\u500b\u4eba\u7684\u306a\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":["Java / \u5fdc\u7528"],"url":"https://dk521123.hatenablog.com/entry/36528892","provider_name":"Hatena Blog","height":"190","blog_url":"https://dk521123.hatenablog.com/","published":"2016-11-24 22:05:32","blog_title":"\u30d7\u30ed\u30b0\u30e9\u30e0 \u306e\u8d85\u500b\u4eba\u7684\u306a\u30e1\u30e2","image_url":null,"author_url":"https://blog.hatena.ne.jp/dk521123/","title":"\u3010Java\u3011 IP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u30db\u30b9\u30c8\u540d\u3092\u53d6\u5f97","width":"100%","author_name":"dk521123","description":"\u25a0 IP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u30db\u30b9\u30c8\u540d\u3092\u53d6\u5f97 * InetAddress.getByName() / InetAddress.getLocalHost() \u3092\u4f7f\u7528\u3059\u308b \u25a0 \u6ce8\u610f * InetAddress.getByName(\"localhost\") / InetAddress.getByName(\"127.0.0.1\") / InetAddress.getLocalHost() \u3067\u52d5\u4f5c\u304c\u7570\u306a\u308b\u306e\u3067\u3001\u6ce8\u610f!!\uff08\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u51fa\u529b\u7d50\u679c\u3092\u53c2\u7167\uff09 \u25a0 \u30b5\u30f3\u30d7\u30eb import java.net.InetAddress; public class Main { public static void main(S\u2026"}