public static String getintIp() throws Exception {
	try {
	Socket s = new Socket("google.com", 80);
	String intip = s.getLocalAddress().getHostAddress();
	s.close();
	return intip;
	} catch (Exception ex) {
    	return null;
    }
}