try {
    InetAddress i = InetAddress.getByName("http://www.google.com");
    Log.e("InetAddress", "InetAddress");
} catch (UnknownHostException e1) {
    e1.printStackTrace();
}
It gives an unknownHostException. That is the onl thing that the app does with the server. Why is that happening and how can I solve it?
 
     
     
    