home ~ projects ~ socials

Start an app on a different port

Instead of running

npm start

prepend it with a PORT variable like this as a single command:

PORT=3030 npm start

The site will be served at:

http://localhost:3030/
-- end of line --