JAVA

서버 아이피 알아 오기

질주하는구 2015. 3. 5. 17:34

InetAddress inet= InetAddress.getLocalHost(); 

String serverip = inet.getHostAddress(); 



반응형