I\'m trying to test my React application on a mobile device. I\'m using ngrok to make my local server available to other devices and have gotten this working with a variety of o
If you use webpack devServer the simplest way is to set disableHostCheck, check webpack doc like this
devServer: { contentBase: path.join(__dirname, './dist'), compress: true, host: 'localhost', // host: '0.0.0.0', port: 8080, disableHostCheck: true //for ngrok },