R
Railway7mo ago
!_Omen

Error Application failed to respond

i deploy a nodejs project and its show active but page not load when i try to open url
Solution:
are you listening on host 0.0.0.0 and the Railway provided PORT variable? https://docs.railway.app/guides/fixing-common-errors...
Jump to solution
27 Replies
Percy
Percy7mo ago
Project ID: f7f77e9f-058f-4547-8ef2-216136a8ed02
!_Omen
!_Omen7mo ago
f7f77e9f-058f-4547-8ef2-216136a8ed02
!_Omen
!_Omen7mo ago
No description
!_Omen
!_Omen7mo ago
when i try to open page its show this
No description
Solution
Fragly
Fragly7mo ago
are you listening on host 0.0.0.0 and the Railway provided PORT variable? https://docs.railway.app/guides/fixing-common-errors
!_Omen
!_Omen7mo ago
where i can found provide port or 4862 is provided port?
Fragly
Fragly7mo ago
the provided port is stored in the PORT environment variable in NodeJS you can have:
const port = process.env.PORT || 3000
const port = process.env.PORT || 3000
The link I sent explains everything
!_Omen
!_Omen7mo ago
ok thx
Fragly
Fragly7mo ago
no problem
!_Omen
!_Omen7mo ago
now its show this
!_Omen
!_Omen7mo ago
No description
!_Omen
!_Omen7mo ago
No description
!_Omen
!_Omen7mo ago
No description
!_Omen
!_Omen7mo ago
No description
!_Omen
!_Omen7mo ago
sry for dusturb you but can u tell me what i miss now? naver mind its got fixed somehow
Want results from more Discord servers?
Add your server