$request->ip()
Returns the IP address of the current visitor
echo kirby()->request()->ip();