Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

EHS6 - How to resolv server socket name using Java? | Telit Cinterion IoT Developer Community

October 13, 2016 - 11:24pm, 3155 views


I tried to connect to a server socket via Java using SocketConnection class but the module was not able to resolve the server name, see code  and exception below. Is there a way that the module could resolve server name in EHS6 using Java? 


try {

irisSocket = (SocketConnection)"socket://;bearer_type=gprs;;username...", Connector.READ_WRITE, true);

in = irisSocket.openInputStream();

out = irisSocket.openOutputStream();

} catch (IOException e) {


} Could not resolve hostname

 -, bci=89

 -, bci=154

 -, bci=4

 -, bci=47

 - cas.fenix.serverconnector.appia.AppiaConnector.connect(

 - cas.fenix.serverconnector.appia.AppiaConnector.handle(