I am getting an “Invalid Host header” message when connecting to webpack-dev-server remotely
I found out, that I need to set the public property of devServer, to my request’s host value. Being that it will be displayed at that external address. So I needed this in my webpack.config.js Another solution is using it on the CLI: