a year ago
Hello. I am trying to deploy an application with Spring Boot that uses the embedded Tomcat server to display the pages generated by the timeleaft template. I have configured the port as 443, and I have generated my own keystroke.p12 to be able to use https. everything works fine locally, but when accessing the web address: https://cartelera-daw.up.railway.app/ I receive the error: Application failed to respond.
ⓘ Deployment information is only viewable by project members and Railway employees.
2 Replies
a year ago
Please see this docs page -
https://docs.railway.app/guides/fixing-common-errors
Additionally, something that it doesn't mention, your app should not be listening with https as you will also get a 503 error from that, your server must only listen on http, Railway handles the SSL certificates.
Status changed to Solved railway[bot] • about 1 year ago
a year ago
It has worked. I have changed the IP of my embedded Tomcat server with server.address=${SERVER_ADDRESS} in the application.properties and with the global variable SERVER_ADDRESS=0.0.0.0 I have configured it. I have configured the port with the value 443. Thank you so much!