We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93e4675 commit e661d1bCopy full SHA for e661d1b
lib/http-server/server.js
@@ -22,7 +22,7 @@ class HttpServer {
22
23
listen() {
24
return new Promise((resolve) => {
25
- this.server = this.app.listen(0, 'localhost', () => {
+ this.server = this.app.listen(0, '0.0.0.0', () => {
26
this.address = `http://${this.server.address().address}:${
27
this.server.address().port
28
}`;
lib/https-server/server.js
@@ -32,7 +32,7 @@ class HttpsServer {
32
33
34
35
36
this.address = `https://${this.server.address().address}:${
37
38
0 commit comments