This is going to depend largely in your particular network infrastructure, it would be better for you to contact your IT support, or some one with networking knowledge that can give you in person help.
This is a very different question, please ask it on a new topic and provide a reproducible example about your issue. Please have a look at this guide, to see how to create one for a shiny app