private function setTrustedProxyIpAddressesToTheCallingIp(Request $request)
    {
        $request->setTrustedProxies([$request->server->get('REMOTE_ADDR')], $this->getTrustedHeaderNames());
    }
private function setTrustedProxyIpAddressesToTheCallingIp(Request $request)
    {
        $request->setTrustedProxies([$request->server->get('REMOTE_ADDR')], $this->getTrustedHeaderNames());
    }
private function setTrustedProxyIpAddressesToTheCallingIp ( Request $ request ) { $ request -> setTrustedProxies ( [ $ request -> server -> get ( 'REMOTE_ADDR' ) ] , $ this -> getTrustedHeaderNames ( ) ) ; }
Set the trusted proxy to be the IP address calling this servers

@param \Illuminate\Http\Request $request
Set the trusted proxy to be the IP address calling this servers