Implemented server IP address detection.