Arduino Client not able to Insert Data to a Cloud Server Instance

florinc, i checked the port in which the server is connecting and it's in the default Port 80.
Yes I'm running an apache web server on 54.245.100.105.
This is the first time I will be using this server.
The IP is an elastic IP address I associated with the server in AWS.
Its private IP address is 10.244.23.188, and should be working just the same with the elastic IP right?