Application failed to respond!
have an issue with the railway. Despite the railway listening on port 8080, my website doesn't appear on the public network
9 Replies
Project ID:
N/A
so you set your
PORT
env to 8080
if I understand correctly?N/A
No, I actually don't have a .env file. I'll create one
yea, just create one and either set the
PORT
env to 8080 ( if you have to use port 8080 ) or just use env.PORT
as your port
railway automatically assigns the PORT
env variable a port to use if you don't specify
you can read more about that here: https://docs.railway.app/deploy/exposing-your-app
wait hold on, you don't have to make a .env file
railway lets you assign .env variables on the dashboardremember when I told you saying "env" was too vague
my bad variable**
very applicable name, ineedhelp, read this please https://docs.railway.app/troubleshoot/fixing-common-errors
I think it's already done. The problem was the API key, I created one on the railway and it worked. Tenkyu 😘
no problem!