I was following this reference here. I made all the same configurations to make sure I could run on port 80. The reason I am doing this is so that I can route the appropriate url without specifying the actual port number after.
When I made all the appropriate adjustments when I run
yarn build && yarn serve
I get this
App running at:
- Local: http://localhost:1024/
- Network: http://172.31.49.146:1024/
Note that the development build is not optimized.
To create a production build, run npm run build.
and I can only access my website if I provide the 1024
port. I have searched through my code and this port number does not exist anywhere so maybe it is happening by default?