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