I have a simple quarkus api app. I've tested the app on my local machine and its running fine. But when i try to run the same app in windows server it starts perfect but does not respond to any of my api request. It is not showing any error or problems. I've tried multiple ways to run the app also through package and jar files but all led to same result. screenshot of the palce where app gets stuck
Asked
Active
Viewed 360 times
-1
-
The screenshot shows a perfectly normal startup of a Quarkus application in dev mode. – Ladicek Sep 07 '22 at 07:10
-
Exactly! It starts perfectly but whenever i try to hit the api in Postman it does not respond. The app does not get triggered by any input. And this happens only in windows server but the same project runs perfectly on my local machine – Nabil Ansari Sep 07 '22 at 10:20
-
I take it you don't want the app to start in dev mode, and yet it starts in dev mode? Or it starts in dev mode as intended, but then doesn't work? – Ladicek Sep 07 '22 at 11:29
-
it starts in dev mode but doesnt work. – Nabil Ansari Sep 07 '22 at 12:03
-
In that case, I suggest you file an issue in the Quarkus issue tracker: https://github.com/quarkusio/quarkus/issues And please at least attach a stack trace (using `jstack`), because the screenshot here can't really be used to diagnose anything. – Ladicek Sep 08 '22 at 07:01
-
Actually i found the solution. I need to add hostname in application.properties file. quarkus.http.host= *hostname* – Nabil Ansari Sep 15 '22 at 12:28
1 Answers
0
check your application properties configurations
-
As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jun 14 '23 at 12:59