remote_host remote_host() Returns the remote host name or IP address, depending on the configuration of the server.