Merge pull request #334 from thecodejedi/master

#308 - Start process with listen port 8000 error.
This commit is contained in:
Gregor Biswanger
2019-11-27 20:07:48 +01:00
committed by GitHub

View File

@@ -149,7 +149,7 @@ function startAspCoreBackend(electronPort) {
startBackend(manifestJsonFile.aspCoreBackendPort)
} else {
// hostname needs to be localhost, otherwise Windows Firewall will be triggered.
portscanner.findAPortNotInUse(8000, 65535, 'localhost', function (error, electronWebPort) {
portscanner.findAPortNotInUse(electronPort + 1, 65535, 'localhost', function (error, electronWebPort) {
startBackend(electronWebPort);
});
}