Forums

10.0.0.45

Hello

I'd like to understand why when I am using a Geolocation API (Ipstack) with PythonAnywhere, it is getting served with the ipaddress 10.0.0.45 rather than the ipaddress that Ipstack normally serves me with which is 78.152.250.213

I looked up what 10.0.0.45 is, the IP address 10.0.0.45 is a private IP address that is commonly used in local networks, such as in homes or offices.

Is there any other configuration I need to do to PythonAnywhere so that visitors to my site get served with their ipaddress?

Kind regards Christopher

Hi Christopher -- that address is the IP address on our internal network of the loadbalancer that originally receives the request from the browser. You can find the browser's IP from various different headers -- details here.