how to run in differnt port next js code example
Example 1: run nextjs in separate port
npm run dev -- -p 3005
Example 2: how to change port in next js
scripts: { "dev": "next -p 8000" }
npm run dev -- -p 3005
scripts: { "dev": "next -p 8000" }