R
Railway4mo 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
Percy4mo ago
Project ID: f7f77e9f-058f-4547-8ef2-216136a8ed02
!_Omen
!_Omen4mo ago
f7f77e9f-058f-4547-8ef2-216136a8ed02
!_Omen
!_Omen4mo ago
No description
!_Omen
!_Omen4mo ago
when i try to open page its show this
No description
Solution
Fragly
Fragly4mo 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
!_Omen4mo ago
where i can found provide port or 4862 is provided port?
Fragly
Fragly4mo 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
!_Omen4mo ago
ok thx
Fragly
Fragly4mo ago
no problem
!_Omen
!_Omen4mo ago
now its show this
!_Omen
!_Omen4mo ago
No description
!_Omen
!_Omen4mo ago
No description
!_Omen
!_Omen4mo ago
No description
!_Omen
!_Omen4mo ago
No description
!_Omen
!_Omen4mo ago
sry for dusturb you but can u tell me what i miss now? naver mind its got fixed somehow
Fragly
Fragly4mo ago
was probably just a caching issue
!_Omen
!_Omen4mo ago
btw i connect a domain but its not have ssl lol its got fixed i ping u and refrash page and its got ssl XD
!_Omen
!_Omen4mo ago
why
No description
!_Omen
!_Omen4mo ago
its only show up when i use domain
Fragly
Fragly4mo ago
are you using cloudflare?
!_Omen
!_Omen4mo ago
Ya
Fragly
Fragly4mo ago
Make sure your SSL/TLS mode is set to Full
!_Omen
!_Omen4mo ago
Where is that?? U mean TTL?
Fragly
Fragly4mo ago
nah, SSL/TLS
Fragly
Fragly4mo ago
No description
!_Omen
!_Omen4mo ago
Ok Let me check Thx bro now it's working fine
Fragly
Fragly4mo ago
Happy to help