Application failed to respond
himanshusingour
HOBBYOP

2 years ago

I have deployed successfully , application also started , but when i opening the link of my app, its saying : Application failed to respond

Solved

7 Replies

2 years ago

I recommend you take a look at this: https://docs.railway.app/guides/fixing-common-errors


Status changed to Solved Railway almost 2 years ago


himanshusingour
HOBBYOP

2 years ago

I have seen that, But not able to understand
I have an Spirngboot application


2 years ago

You'll need to ensure that your server is listening on the port that is provided by Railway in the PORT environment variable, I haven't used springboot myself but I did find this post that might point you in the right direction: https://help.railway.app/questions/deploy-java-springboot-app-c5d7a143#p-7


himanshusingour
HOBBYOP

2 years ago

Yeah , I have solved by Kept these things in .yaml file

server:
port: ${PORT:8080}
address: 0.0.0.0


himanshusingour
HOBBYOP

2 years ago

Now its working , but one more issue i am facing , like when i am hitting and POST APi, in logs its saying GET not supported

but actually i am hitting POST


2 years ago

Make sure you are using https


himanshusingour
HOBBYOP

2 years ago

Excellent, its working , HTTPS, Thanx


Loading...