Webpack bind hostname or 0.0.0.0 ,not localhost

Issue Summary

A summary of the issue and the browser/OS environment in which it occurs.

Technical details:

when I was running the command npm run start webpack dev server ,it binds the 8080 port on localhost, so I cannot access it from external,is there anyway to bind the 8080 port on hostname or 0.0.0.0 address?

  • Redash Version:
  • Browser/OS:Redhat 6.7 x64
    How did you install Redash: developer mode

You can modify file webpack.config.js.

...
devServer: {
    disableHostCheck: true,
    host: '0.0.0.0',
    port: 8080,
...