title: WSO2 API Manager in Docker
body: <p>I am trying to deploy API Manager and Enterprise Integrator using Docker Compose. This is deployed using a cloud server. </p>
  
  <p>Everything works locally when using localhost as the host but when I deploy it on a using a cloud server, I cannot access the API Manager using the public IP of the server. The Enterprise Integrator works though. I've modified some configuration parameters as shown below but the problem persists:</p>
  
  <pre><code> &lt;APIStore&gt;
  &lt;!--GroupingExtractor&gt;org.wso2.carbon.apimgt.impl.DefaultGroupIDExtractorImpl&lt;/GroupingExtractor--&gt;
      &lt;!--This property is used to indicate how we do user name comparision for token generation https://wso2.org/jira/browse/APIMANAGER-2225--&gt;
      &lt;CompareCaseInsensitively&gt;true&lt;/CompareCaseInsensitively&gt;
      &lt;DisplayURL&gt;false&lt;/DisplayURL&gt;
      &lt;URL&gt;https://&lt;PUBLIC IP HERE&gt;:${mgt.transport.https.port}/store&lt;/URL&gt;
  
      &lt;!-- Server URL of the API Store. --&gt;
      &lt;ServerURL&gt;https://&lt;PUBLIC IP HERE&gt;:${mgt.transport.https.port}${carbon.context}services/&lt;/ServerURL&gt;
  </code></pre>
  
  <p>I've also whitelisted the said public IP:</p>
  
  <pre><code>"whiteListedHostNames" : ["localhost","PUBLIC IP HERE"]
  </code></pre>