Hi @Sharabh,
Is the app not working at all for you on Beanstalk? Or, is it working via public IP but not via DNS?
It seems @dchudz was able to get his app fully working on Beanstalk by following Matteo’s comment, the steps he posted in his comment above and also by following the instructions in this comment.
When you said the following, were you talking about Azure or Beanstalk?
But again, the app works fine for some time after I restart, but again it starts hanging up and connecting