reactjs / react-router-tutorial

5.52k stars 1.75k forks source link

need to listen on 0.0.0.0 #306

Open brw31415 opened 7 years ago

brw31415 commented 7 years ago

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?

ruelasb commented 7 years ago

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"
  }