We have checked the value of the
$_SERVER['REMOTE_ADDR'] variable and it looks like it takes the correct value, the public IP of the client accessing to the server is shown.
I believe that the above is the expected behavior.
As per suggestion of the Wise Chat Pro developer, it is possible that the IP of your server is blocked by the geoplugin service. In order to confirm that, could you please execute the following command in the instance that you have launched?
It should return some information with regards to the ip
22.214.171.124 (taken as an example). The important thing is that the response contains a correct status:
Hope it helps.