title: Expose docker container port to other machine
body: <p>I have installed Redis in Docker using below command</p>
  
  <pre><code>docker run -d -p 6379:6379 redis:3.0.1
  docker run -d -p 6380:6379 redis:2.8.20
  </code></pre>
  
  <p>Now I need to access this redis instance from another machine </p>
  
  <pre><code>public static ConnectionMultiplexer redis = ConnectionMultiplexer.Connect(IPOFDOCKERINSTALLEDMACHINE:6379);
  </code></pre>
  
  <p>My App is hosted in another machine in different server.</p>
  
  <p>Wnen i am running the app, below is the exception</p>
  
  <blockquote>
    <p>It was not possible to connect to the redis server(s); to create a
    disconnected multiplexer, disable AbortOnConnectFail. SocketFailure on
    PING</p>
  </blockquote>
  
  <p>Is there anything need to be changed in docker or oracle virtual machine ?</p>