2 years ago
I have deployed a Java Springboot app using Github. The deployment was successful. But when I try to access the application it sjows "Application failed to respond"
Please suggest.
8 Replies
2 years ago
please check out this docs page
2 years ago
This link does not have anythign related to Java Springboot application
2 years ago
you are correct, but it does cover the issue you are facing and provides a high-level explanation of what needs to be done to solve the issue.
2 years ago
I had deployed another project from GIT 2 months back and did not make any changes in host or port. Is there any changes made to the deployment process recently?
2 years ago
nope, what is outlined in that docs page has always been necessary, that just means your deploy from 2 months back listened on the correct host and port and you have since changed something.
2 years ago
I have the same problem. How you resolve it?
2 years ago
Okay, just add a
for yaml:
server:
port: ${PORT}
or for .properties
for yaml:
server.port: ${PORT}
and don't provide in env properties any port, railway provide him this variable automaticly
2 years ago
yes Railway does provide the PORT variable automatically, you don't need to define it yourself anywhere.