R
Railway12mo ago
Ed

Deploy is OK but cant access the domain

Hi! I just deployed a NodeJS aplication and everything worked well. I checked the logs section and my app is active, as expected. But, i cant access the routs (ex: "/" ou "/api"). When i hit the endpoint, i get the "Application failed to respond", with the title: "Server error". I generated a custom domain and didnt worked too. Someone can help me?
No description
16 Replies
Percy
Percy12mo ago
Project ID: N/A
Ed
EdOP12mo ago
No description
Ed
EdOP12mo ago
No description
Ed
EdOP12mo ago
Project ID: 8587792 Service id: 183c9eb8-3ea7-4728-b9c6-b7899c4befbe
Fragly
Fragly12mo ago
Make sure you're listening on the port railway provides
Ed
EdOP12mo ago
Hmm i'll check this now
Ed
EdOP12mo ago
@Fragly , can you tell me where i can find this PORT variable provided by Railway?
No description
Ed
EdOP12mo ago
No description
Brody
Brody12mo ago
please read further down the page, there are code examples
Ed
EdOP12mo ago
I did But im not sure i understand
Ed
EdOP12mo ago
No description
Ed
EdOP12mo ago
But, what is the value?
Ed
EdOP12mo ago
No description
Ed
EdOP12mo ago
i get it now. Its done. Its working. I was looking for some value but the variable was enough
Brody
Brody12mo ago
awesome
Want results from more Discord servers?
Add your server