After successful deployment, it does not provide an external link
adv36
FREEOP

6 months ago

Subject:

No public URL generated for Next.js app despite successful deployment

Body:

Hello Railway team,

I successfully deployed a Next.js 15.2.8 application using a custom Dockerfile and the start command:

npm run build && npm run start -- -p 3000.

The deployment shows "Active" and "Deployment successful", but no public URL (e.g., *.up.railway.app) is displayed in the dashboard.

The app listens on port 3000, as required. Could you please help me understand why the public endpoint is not being generated?

Repository: https://github.com/aaripinsky/voronezh-lawyer-seo-ready

Service name: voronezh-lawyer-seo-ready

Thank you for your support!

Best regards,

A. Ripinsky

$10 Bounty

1 Replies

domehane
FREE

6 months ago

you gotta do it manually, go to your service settings → scroll to "networking" section → click "generate domain"

that'll give you the *.up.railway.app url. also make sure your app listens on process.env.PORT instead of hardcoded 3000 in your start command, since railway injects the PORT variable automatically


Welcome!

Sign in to your Railway account to join the conversation.

Loading...