Bad port: "6000" is reserved for x11

chemiadelHOBBY

a year 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

0 Replies

a year ago

set a fixed port.


a year ago

n/a


chemiadelHOBBY

a year ago

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


a year ago

you would get another error, 3000 is commonly used


chemiadelHOBBY

a year ago

so I should set port in env file to 3000


a year ago

in your service variables


chemiadelHOBBY

a year ago

is there any solved duplicate issue I can follow and read


chemiadelHOBBY

a year ago

thanks lot


a year ago

wdym i had just proposed a solution?


chemiadelHOBBY

a year ago

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


chemiadelHOBBY

a year ago

this error sometimes happen and somtimes not


a year ago

set a fixed port