2010-03-10 メモ java ホスト名とIPの取得の仕方 String hostName = InetAddress.getLocalHost().getHostName(); String ip = InetAddress.getLocalHost().getHostAddress();