We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5863640 commit cd39491Copy full SHA for cd39491
lib/Server.js
@@ -725,8 +725,7 @@ class Server {
725
726
listen(port, hostname, fn) {
727
if (hostname === 'local-ip') {
728
- this.hostname =
729
- internalIp.v4.sync() || '0.0.0.0' || internalIp.v6.sync() || '::';
+ this.hostname = internalIp.v4.sync() || internalIp.v6.sync() || '0.0.0.0';
730
} else if (hostname === 'local-ipv4') {
731
this.hostname = internalIp.v4.sync() || '0.0.0.0';
732
} else if (hostname === 'local-ipv6') {
0 commit comments