title: How to enable outbound connections for a Docker container?
body: <p>I have an <code>ASP.NET Core</code> application that is hosted in the <code>Docker cloud</code> (cloud provider is <code>Azure</code>). The application uses <code>Hangfire</code> to run recurring jobs in the background, and one of the jobs needs to request data from an external REST API. I noticed that any attempt at outbound communication fails, and I would like to know, how I can enable it.</p>
  
  <p>The deployment consists of some other containers, whereby linked containers (services) can communicate with no problem. There is no special network configuration; the default "bridge" mode is used. Do I need to configure something in the container´s image, or do I need to make changes to the network settings... I have no clue.</p>