The problem occurs because webpack-dev-server
2.4.4 adds a host check. You can disable it by adding this to your webpack config:
devServer: { compress: true, disableHostCheck: true, // That solved it }
EDIT: Please note, this fix is insecure.
Please see the following answer for a secure solution:https://stackoverflow.com/a/43621275/5425585