Win 8 + Node v9.10.0
git clone https://github.com/fjc0k/blogs.gityarn & yarn devhttp://localhost:8080/blogs/WebSocket connection to 'ws://0.0.0.0:8081/' failed: Error in connection establishment: net::ERR_ADDRESS_INVALIDCannot repro at my local (macOS 10.12.6). seems like a defect of webpack-server: https://github.com/webpack-contrib/webpack-serve/issues/56 at windows.
Don't know if it can solve your problem: try to set host to localhost and revisit.
@ulivz THX馃槝. localhost is available.
@fjc0k can you explain please how you solved this ? I have the same error on Win 10. Thanks!
@MartonEstok open .vuepress/config.js, set host to localhost.
@ulivz maybe this is a bug by vuepress webpack config, because the others build tools is ok to use on my computer.
@ulivz if not a bug, maybe we should doc it.
// .vuepress/config.js
{
host: 'localhost',
}
Query - why was this closed? If the default behavior has the error being thrown, shouldn't it be corrected? Or perhaps automatic reload be disabled unless the host config value is set?
@cfjedimaster It has already been fixed at https://github.com/vuejs/vuepress/commit/4d5c50e4455fdea18fbd62225889f70654d4b0c0, I think.
Ah - I assume that's not live yet? (I Installed yesterday.)
Me too. I installed it yesterday and still see the error.
Is there any chance to have this fixed?
me too, I have this issue with vuepress/1.0.0-alpha.31 linux-x64 node-v11.6.0
Most helpful comment
@MartonEstok open
.vuepress/config.js, sethosttolocalhost.@ulivz maybe this is a bug by vuepress webpack config, because the others build tools is ok to use on my computer.