Thanks a lot for your help.
Actually the issue is, I am able to run my app locally abut when I am trying to publish it, its not working. I am connecting to a SQL database in the app and fetching data from database.
The database is having firewall. So unless I am on VPN network, i won't be able to pass on the firewall.
So I thought of creating own shiny server for university so it will always be on VPN network.
I read about Shiny server open source and Shiny server Pro but I am not sure to how much extent my problem will be solved.
Shiny server open source is not available for Windows or Mac as per my understanding.