Question

REMOTE_ADDR return private IP instead of public in HTTPS

Posted December 28, 2020 226 views
ApacheDigitalOcean Managed Load Balancers

Our load balancer

8be40778-9d19-4170-9671-6eb6fe0616b0

is using https://app.mizzima.net/test.php

REMOTE_ADDR is returning the private ip instead of public ip.

http://app.mizzima.net/test.php is working fine and can get the public ip.

I already setup https pass through in load balancer. But still not get the public IP address.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!