request.ip returns the client ip even if that client is a proxy.
request.remote_ip is smarter and gets the actual client ip. This can only be done if the all the proxies along the way set the X-Forwarded-For header.
request.ip returns the client ip even if that client is a proxy.
request.remote_ip is smarter and gets the actual client ip. This can only be done if the all the proxies along the way set the X-Forwarded-For header.