Skip to content

Commit 48313d5

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 80dc67c commit 48313d5

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
@@ -155,7 +155,7 @@ async function start() {
155155
*
156156
* If only `--port` is provided then connect to that port.
157157
*
158-
* In absence of specified ports, connect to port 8000.
158+
* In absence of specified ports, connect to port 3000.
159159
* @param {string | undefined} host
160160
* @param {string | undefined} strPort
161161
* @param {string | undefined} strPickPort
@@ -203,7 +203,7 @@ async function parsePort(host, strPort, strPickPort) {
203203
process.exit(1);
204204
}
205205
}
206-
return 8000;
206+
return 3000;
207207
}
208208

209209
/**

0 commit comments

Comments
 (0)