nextjs change port for production code example
Example 1: nextjs change port
"scripts": {
"dev": "next -p 8080"
},
Example 2: how to change port in next js
scripts: { "dev": "next -p 8000" }
"scripts": {
"dev": "next -p 8080"
},
scripts: { "dev": "next -p 8000" }