Is hardcoded hostname and port number okay?