I get this error when I upload my site to my webserver:
http://desktop-gq7oerj:3000/sockjs-node/info?t=1489850537555 net::ERR_CONNECTION_REFUSED
my webpack config is:
entry: [
'webpack-dev-server/client?http://' + require("os").hostname() + ':3000/',
'webpack/hot/only-dev-server',
'./src/index'
],
How can I fix it?
In my case,it worked this => Here's a link
in webpack.config i aggregated :
devServer: {
socket: 'socket',
...
},
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With