Using SIM Cards without fixed IP | Telit Cinterion IoT Developer Community
June 14, 2015 - 9:04pm, 3147 views
I am trying to create a small HTTP Server on the EHS6T. SIM cards with fixed IP are expensive, so need to prove the application with a standard data SIM card before I use a fixed IP SIM.
The HTTP Server is required to respond to a users request from a standard browser window.
I am using java sockets classes for the internet connection which uses the GPRS settings for the ISP I am using. I am using ServerSocketConnection class which is also being used to retrieve the SIM IP address. I am assuming this is the current IP address that has been allocated by the SIM card provider ??. However if I try and ping this IP address or access via a browser window I just get a timeout error message.
Am I doing anything wrong above with my method for 'proof of concept'. Why am I unable to access the Server on the EHS6T.
Any clues on how to fault find the above would be appreciated.
With my mobile provider I had to use SIM card with fixed ip inside our company network, if I wanted to use BGS5T as HTTP server. Reason for that was also that some providers block port 80, which is used for HTTP.
Also check this topic: https://iot-developer.thalesgroup.com/threads/serversocketconnection
A lot of providers do not provide a public SIM without a fixed ip with a public IP. Most of the time the connection goes through gateways and proxies. Also it usual that the use a VLAN. (If the given ip adres is a private one, 10.x.x.x or 192.168.x.x)
The address doesn't need to be fixed but must be public. And the provider must not block the incomming traffic so you will not be able to connect to your server on the module with the normal SIM subscription.