Learn R Programming

AnalysisPageServer (version 1.6.2)

client.ip: client.ip

Description

Return client IP address

Usage

client.ip()

Arguments

Value

SERVER$remote_ip

Details

This is the "X-Forwarded-For" header, if available, and otherwise the "remote_ip" component of the global SERVER variable

Examples

Run this code
SERVER <<- list(remote_ip = "127.0.0.1")
client.ip()

Run the code above in your browser using DataLab