Skip to content

Commit e6867db

Browse files
gbraadjeanp413
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 b0d4cc7 commit e6867db

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
@@ -179,7 +179,7 @@ function sanitizeStringArg(val) {
179179
*
180180
* If only `--port` is provided then connect to that port.
181181
*
182-
* In absence of specified ports, connect to port 8000.
182+
* In absence of specified ports, connect to port 3000.
183183
* @param {string | undefined} host
184184
* @param {string | undefined} strPort
185185
* @param {string | undefined} strPickPort
@@ -227,7 +227,7 @@ async function parsePort(host, strPort, strPickPort) {
227227
process.exit(1);
228228
}
229229
}
230-
return 8000;
230+
return 3000;
231231
}
232232

233233
/**

0 commit comments

Comments
 (0)