diff --git a/packages/@vuepress/core/lib/node/dev/index.js b/packages/@vuepress/core/lib/node/dev/index.js index 9f2cf2703c..ccd1ec5f38 100644 --- a/packages/@vuepress/core/lib/node/dev/index.js +++ b/packages/@vuepress/core/lib/node/dev/index.js @@ -266,7 +266,7 @@ module.exports = class DevProcess extends EventEmitter { */ function resolveHost (host) { - const defaultHost = 'localhost' + const defaultHost = '0.0.0.0' host = host || defaultHost const displayHost = host === defaultHost ? 'localhost'