change port 3000 next js code example Example: nextjs change port "scripts": { "dev": "next -p 8080" },