react-server icon indicating copy to clipboard operation
react-server copied to clipboard

Cannot access static assets on Windows by default

Open breezewish opened this issue 9 years ago • 3 comments

Due to this change, react-server will listen 0.0.0.0 by default.

Then according to this, the default path for static assets would be http://0.0.0.0:3000, which is not accessible in Windows.

breezewish avatar Mar 24 '17 08:03 breezewish

I have the same issue in Windows

2017-05-29 11_16_39

peorth80 avatar May 29 '17 14:05 peorth80

nobody found a solution for this error ?

kodelio avatar Dec 27 '17 10:12 kodelio

try using http://localhost:3000 and inside your ".reactserverrc" file add the host, so it looks something like this { "routesFile": "routes.json", "host":"localhost", "port": 3000, "env": { "production": { "port": 8080 } }, "customMiddlewarePath": "express.config.js" }

nete avatar Jan 05 '18 23:01 nete