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?
16 Replies
Project ID:
N/A
Project ID: 8587792
Service id: 183c9eb8-3ea7-4728-b9c6-b7899c4befbe
Make sure you're listening on the port railway provides
Solution
For more info: https://docs.railway.app/guides/fixing-common-errors
Hmm i'll check this now
@Fragly , can you tell me where i can find this PORT variable provided by Railway?
please read further down the page, there are code examples
I did
But im not sure i understand
But, what is the value?
i get it now. Its done. Its working. I was looking for some value but the variable was enough
awesome