Bad port error when trying to deploy nextjs app
julio2049
TRIALOP
2 years ago
This app has deployed before without issue. Now, when I try to deploy it I get an error though we have not added or changed any port configurations.
The logs say:
next start
Bad port: "6668" is reserved for ircu
Read more: https://nextjs.org/docs/messages/reserved-port
5 Replies
brody
EMPLOYEE
2 years ago
Unfortunate luck given that the port is random on every deployment, a simple redeploy should do the trick!
julio2049
TRIALOP
2 years ago
Ok. Thanks. I tried it again and got the same error. Maybe the third time is the charm.
julio2049
TRIALOP
2 years ago
Yes. It did work on the third redeploy just now.
Status changed to Solved Railway • almost 2 years ago