react-router-tutorial icon indicating copy to clipboard operation
react-router-tutorial copied to clipboard

need to listen on 0.0.0.0

Open brw31415 opened this issue 8 years ago • 1 comments
trafficstars

hi, i am running this on cloud9 environment. i need it to listen on 0.0.0.0 . it seems to want localhost. how do i change this?

brw31415 avatar Mar 14 '17 08:03 brw31415

I don't know if this would help but if you can specify the host and port you want to listen on directly in your package.json

"scripts": {
    "start": "webpack-dev-server --host 0.0.0.0 --port 8081"
  }

ruelasb avatar Mar 28 '17 00:03 ruelasb