Return server information from . Like below
App::Config()->getServerInfo([Key])
Key is particular value name that you want to return. If Key is not passed then all value will return in an array. All server values are received form $_SERVER.
See bellow example:
$info = App::Config()->getServerInfo();
$ip_address = App::Config()->getServerInfo('REMOTE_ADDR');