Check if $_SERVER[‘REMOTE_ADDR’] and $_SERVER[‘SERVER_PORT’] are set