diff --git a/app/backend/nvcomputer.cpp b/app/backend/nvcomputer.cpp index 1ad659f4..4217dd37 100644 --- a/app/backend/nvcomputer.cpp +++ b/app/backend/nvcomputer.cpp @@ -169,7 +169,7 @@ NvComputer::NvComputer(NvHTTP& http, QString serverInfo) // to support dynamic HTTP WAN ports without requiring the user to manually enter the port. QString remotePortStr = NvHTTP::getXmlString(serverInfo, "ExternalPort"); if (remotePortStr.isEmpty() || (this->externalPort = remotePortStr.toUShort()) == 0) { - this->externalPort = DEFAULT_HTTP_PORT; + this->externalPort = http.httpPort(); } QString remoteAddress = NvHTTP::getXmlString(serverInfo, "ExternalIP");