Next.js Discord

Discord Forum

weird port issue

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Polar bearOP
any config i'm missing?

19 Replies

Netherland Dwarf
It might because something else is using port 3000
You can kill the port 3000
Polar bearOP
I have my live app running on 3000 yes
Netherland Dwarf
Then restart next js
Oh ok
Polar bearOP
it needs to stay there
but i want to use 3001
how do i do that
my paylaod
Netherland Dwarf
Is anything running on 3001?
Is the server live
For 3001
@Netherland Dwarf For 3001
Polar bearOP
yup
that's where I'm logging in from
Polar bearOP
@Netherland Dwarf it does work in npm run dev
any places where i should look in that casE?
Netherland Dwarf
Hmm im not sure sorry.
you can kill 3000 if you want to use 3000, otherwise you can swap your dev script in package.json to "dev": "next dev -p 3001", to get port 3001