Skip to content
Bad port: "6000" is reserved for x11
chemiadel
OP

3 years ago

I'm using NextJS version 14 on railway

4 replicas

redeploy fixed the issue. but how can I avoid such things please

thanks in advance

Closed

12 Replies

3 years ago

set a fixed port.


3 years ago

n/a


chemiadel
OP

3 years ago

any port? how can I know if it's not reserved ?


3 years ago

you would get another error, 3000 is commonly used


chemiadel
OP

3 years ago

so I should set port in env file to 3000


3 years ago

in your service variables


chemiadel
OP

3 years ago

is there any solved duplicate issue I can follow and read


chemiadel
OP

3 years ago

thanks lot


3 years ago

wdym i had just proposed a solution?


chemiadel
OP

3 years ago

right now Im not setting any PORT and I'm using NextJS


chemiadel
OP

3 years ago

this error sometimes happen and somtimes not


3 years ago

set a fixed port


Welcome!

Sign in to your Railway account to join the conversation.

Loading...