react webpack allow external ip

add host: ’0.0.0.0′ at webpack.config.js

devServer: {
    inline: true,
    contentBase: './app',
    port: 9000,
    host: '0.0.0.0'
  }

Related posts:

This entry was posted in react. Bookmark the permalink.