8000 wip · NativePHP/electron-plugin@bfeb5d5 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit bfeb5d5

Browse files
committed
wip
1 parent 83f13af commit bfeb5d5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/server/php.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const appPath = getAppPath();
3030
function getPhpPort() {
3131
return __awaiter(this, void 0, void 0, function* () {
3232
return yield (0, get_port_1.default)({
33+
host: '127.0.0.1',
3334
port: get_port_1.default.makeRange(8100, 9000)
3435
});
3536
});

src/server/php.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const appPath = getAppPath();
1717

1818
async function getPhpPort() {
1919
return await getPort({
20+
host: '127.0.0.1',
2021
port: getPort.makeRange(8100, 9000)
2122
});
2223
}

0 commit comments

Comments
 (0)
0