You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For those who want to change default host and ip when starting the server, here is what i did (i'm not expert so please correct if needed).
In webpack.config.js i added :
If you add host: '0.0.0.0' to the devServer object in webpack.config.js it'll bind to any IP address. I use this on a vultr VPS and on a local virtualbox VM and to access it from my desktop computer I bound the IP to 0.0.0.0 and it works like a charm.
For those who want to change default host and ip when starting the server, here is what i did (i'm not expert so please correct if needed).
In webpack.config.js i added :
module.exports
:devServer
section, add :Then you can call the server like this :
The text was updated successfully, but these errors were encountered: