DEV Community

Discussion on: Deploy ReactJS Production Build with PM2

Collapse
 
timbogdanov profile image
Tim Bogdanov

why is it serving it on 0.0.0.0? shouldn't it serve it on 127.0.0.1?

Collapse
 
anuragdeepxon profile image
Anurag Deep

check .env file, and update HOST from 0.0.0.0 to 127.0.0.1, i.e.
HOST=127.0.0.1
PORT=1337