Sicuramente è dovuto ad un proxy.
Prima di aprire la connessione devi eseguire questo codice:
Codice PHP:
String host "proxy.it";
String port "8080";
System.getProperties().put("proxySet""true");
System.getProperties().put("proxyHost"host);
System.getProperties().put("proxyPort"port);