Skip to content

Commit ef1dbd5

Browse files
gbraadmustard-mh
authored andcommitted
Fixes 219 Provide a consistent default port.
This is done to keep the default port consistent before 1.62 release where we started using the upstream server
1 parent a256cc4 commit ef1dbd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server-main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function sanitizeStringArg(val) {
171171
*
172172
* If only `--port` is provided then connect to that port.
173173
*
174-
* In absence of specified ports, connect to port 8000.
174+
* In absence of specified ports, connect to port 3000.
175175
* @param {string | undefined} host
176176
* @param {string | undefined} strPort
177177
* @param {string | undefined} strPickPort
@@ -219,7 +219,7 @@ async function parsePort(host, strPort, strPickPort) {
219219
process.exit(1);
220220
}
221221
}
222-
return 8000;
222+
return 3000;
223223
}
224224

225225
/**

0 commit comments

Comments
 (0)