change nextjs buitl port code example Example: how to change port in next js scripts: { "dev": "next -p 8000" }