Acceptandopen function not working properly | Telit Cinterion IoT Developer Community
November 28, 2018 - 7:28pm, 1791 views
Hello,
I'm using a BGS5T and opening a server socket in which I'll work both as client and server. The system has been working properly until I had to switch the SIM card into a private one (private APN).
After opening the server socket, and successfully gettin an IP address, I excute the acceptandopen method to listen into incoming connections.
In this case the server doesn't pass the execution acceptandopen function. We can ping the IP but not contact the webserver.
Could there be any configuration in the socket open function or in the network that could be generating this?
Thank you in advance
The problem seems much like this:
https://iot-developer.thalesgroup.com/threads/ehs6-socket-connection-pro...
Hello,
As the problem started after switching to private APN and acceptAndOpen() never returns I think that it is most probably the network problem and you should contact the operator. I don't know if you ping the device from the same location as try to connect to the server on the module. The IP address assigned to the module may not be public or it may not be available from outside of the private network because of the provider's firewall settings.
Best regards,
Bartłomiej
Thank you Bartlomiej.
It was the operator configuration!
BR