Mercurial > hg > Database > Alice
diff src/main/java/alice/topology/node/StartTopologyNode.java @ 562:1cf2697d51a6 dispose
add j3dcore.jar to lib
author | Nozomi |
---|---|
date | Wed, 25 Nov 2015 19:24:35 +0900 |
parents | 145c425db88d |
children | ffa43f252492 cb16036404ba |
line wrap: on
line diff
--- a/src/main/java/alice/topology/node/StartTopologyNode.java Tue Nov 24 01:26:41 2015 +0900 +++ b/src/main/java/alice/topology/node/StartTopologyNode.java Wed Nov 25 19:24:35 2015 +0900 @@ -23,7 +23,7 @@ DataSegment.connect("manager", "manager", conf.getManagerHostName(), conf.getManagerPort()); String localHostName = null; try { - localHostName = InetAddress.getLocalHost().getHostName(); + localHostName = InetAddress.getLocalHost().getHostAddress(); } catch (UnknownHostException e) { e.printStackTrace(); }