R
Railway12mo ago
izureki

Depoyed go-server using dockerfile, can't access using generated domain

The deploy logs show "server running". But, I can't access the server routes. It says "Application failed to respond"
Solution:
please reference this example Go app to learn how to get the app to listen on the environment variable PORT https://github.com/brody192/chi-template/blob/main/main.go...
Jump to solution
4 Replies
Percy
Percy12mo ago
Project ID: N/A
izureki
izureki12mo ago
N/A
Fragly
Fragly12mo ago
Just to make sure, you're running on the PORT that railway provides, right?
Solution
Brody
Brody12mo ago
please reference this example Go app to learn how to get the app to listen on the environment variable PORT https://github.com/brody192/chi-template/blob/main/main.go