I am making an application in which I need to find the IP address of a client. I used request.remote_ip to get the IP address of the client, and it got the public IP address of the client for the HTTP request. When this request is https request.remote_ip chose a different ip as 10.114.237.132 (I think it is a private ip), except for the public ip address. I also tried request.env ['REMOTE_ADDR'] My question is how to find the remote client ip for the https request.
source share