Table of contents
Table of contents
- TOC
Change ip or port when running
https://dev.to/kevinmel2000/nodejs-reactjs-change-host-and-port-number-70b
https://stackoverflow.com/questions/42083275/running-react-code-on-other-machine
In Linux and Mac terminals, it would be
export PORT=5000
export HOST=IP ADDRESS
In Windows, the command is slightly different
env:PORT=5000
env:HOST=IP ADDRESS