Connect EHS6T with hostname and DNS | Telit Cinterion IoT Developer Community
September 5, 2017 - 12:53pm, 4830 views
I'm trying to connect my EHS6T to server with hostname and DNS.
To define the dns and APN I use this command :
Then I send:
m_sc = (SocketConnection) Connector.open(s);
s = socket://myadress.jcdecaux.org:91
the result is this error : Could not resolve hostname
I also tried with this function NetExtension.Hostname(m_myadress.jcdecaux.org) to get the ip with same result.
If I replace the hostname with the adress ip it's working.
I have used the same command in cinterion TC65i and it's working.
Can you tell please, how to connect with hostname with EHS6T ?