#Application Failed to respond (503)

1 messages · Page 1 of 1 (latest)

ebon gorgeBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

frosty thicketBOT
#

Project ID: 34577167-60a7-4440-ade4-27689dd1599b

keen sapphire
stray marten
keen sapphire
#

and... still didnt work

stray marten
#

do you have a service variable named PORT?

keen sapphire
#

IT SOLVED??!!, FK MEEEEE I FORGET DO A LITTLE THING, ALSO THAK YOU Brody you fast respon

stray marten
#

that was just a simple yes or no question, it wasn't meant to be an actionable request

#

your code is clearly setup to listen on the environment variable PORT that railway automatically assigns at random on every deployment, but still logged that it was listening on 3000, this is concerning because it makes me think you are running old code from before you implemented the process.env method

#

tl;dr with the code you showed you should not need to specify a PORT service variable, and the fact that when you did and it worked likely means there's a bigger issue at play here

keen sapphire
#

i got new problem 😦

stray marten
#

and what's that

keen sapphire
#

my api didnt work properly, i think its db issue... when im trying to add data to my table its send null

stray marten
#

are you using the data tab in railway

keen sapphire
#

yea

stray marten
#

don't use that, use a proper database client like dbgate

keen sapphire
#

alr, let me try