Created by: haraldrudell
Ability to use random port number
- Multiple create-react-app can be run in parallel doing like real work
- Activated by having a line PORT=0 in ./.env
- Port number 0 is default behavior for Node.js
Test: PORT=0 yarn react-scripts start
- The browser window opening should have a port number other than 3000
Default interface 127.0.0.1
- Confines the development environment Create React App to the local host only
- All interfaces is a security risk:
- App is available to attackers on the local network segment
- App is available to remote attackers via any remote link that may be active
- Note that this does not listen on IPv6. That is HOST=::1