start next app on diff port code example Example: nextjs change port "scripts": { "dev": "next -p 8080" },