Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change port 3000 #108

Open
style6 opened this issue Dec 22, 2023 · 1 comment
Open

How to change port 3000 #108

style6 opened this issue Dec 22, 2023 · 1 comment

Comments

@style6
Copy link

style6 commented Dec 22, 2023

How to change port 3000

@charan-sai-v
Copy link

charan-sai-v commented Jan 4, 2024

Go to package.json, add -p PORT_NUMBER in dev, and start scripts
like this

"scripts": { 
    "dev": "next dev -p 8080",
    "start": "next start -p 8080",
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants