diff --git a/dist/server/php.js b/dist/server/php.js index afa1bcd..d6ee69b 100644 --- a/dist/server/php.js +++ b/dist/server/php.js @@ -30,6 +30,7 @@ const appPath = getAppPath(); function getPhpPort() { return __awaiter(this, void 0, void 0, function* () { return yield (0, get_port_1.default)({ + host: '127.0.0.1', port: get_port_1.default.makeRange(8100, 9000) }); }); diff --git a/src/server/php.ts b/src/server/php.ts index e85d2de..1b9c9cd 100644 --- a/src/server/php.ts +++ b/src/server/php.ts @@ -17,6 +17,7 @@ const appPath = getAppPath(); async function getPhpPort() { return await getPort({ + host: '127.0.0.1', port: getPort.makeRange(8100, 9000) }); }