If you want to connect to the mobile device from the internet, there's no solution, except for using a professional fixed IP mobile internet service.
The mobile internet provider doesn't route ingoing connections to the mobile device. He can't due to lack of IP adresses. The IP address assigned to your mobile device is shared between multiple devices, involving port translation in the internet router of the GSM base station.
Mobile providers offer internet access with public IP addresses at extra costs. There are also companies providing VPN access through a server to mobile devices.
The usual solution for the communication problem is to setup a server with fixed or publically accessible dynamic IP and connect permanently or periodically to the server.