'My Compute Engine VM has no external IP. What do other servers see?

My Google Cloud Compute Engine VM Instance claims to have no external IP address in the settings.

When I run the following code, I get an IP address.

response = requests.get('http://jsonip.com')
ip = response.json()['ip']
print('Your public IP is:', ip)

>>> Your public IP is: x.x.x.x  <-- Masking the IP address for security reasons

What address is returned? Is this just a non-static IP address?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source