Answers for "run in a different port next js"

42

set port nextjs

"scripts": {
    "dev": "next dev -p 8080", // for dev 
    "start": "next start -p 8080" // for prod
},
Posted by: Guest on June-25-2021
1

how to run nextjs in another port

yarn dev -p 3005
Posted by: Guest on December-22-2020

Code answers related to "run in a different port next js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language