title: Accessing docker container (webserver Nginx) from my Browser
body: <p>I am doing a project with docker, where I have to configure a web server onto a container and this to be reached from my web browser.
  Ive created my Test environment in VMware using debian. I configured a nginx reverse proxy and also a dockerfile for my web server. Below you will find my docker-compose.yml file.</p>
  <pre><code>services:
      reverse-proxy:
          image: &quot;jwilder/nginx-proxy:alpine&quot;
          container_name: &quot;reverse-proxy&quot;
          volumes:
              - &quot;/usr/share/nginx/html&quot;
              - &quot;/etc/nginx/dhparam&quot;
              - &quot;/etc/nginx/vhost.d&quot;
              - &quot;/etc/nginx/certs&quot;
              - &quot;/run/docker.sock:/tmp/docker.sock:ro&quot;
          restart: &quot;always&quot;
          ports:
              - &quot;80:80&quot;
              - &quot;443:443&quot;
      container:
          depends_on:
              - reverse-proxy
          image: web-new:latest
          container_name: &quot;webserver&quot;
          restart: unless-stopped
  </code></pre>
  <p>Now the container is all configured and when i try to access it with its ip (curl) it works and im trying to reach it from my Windows Host browser but its not working.
  Anyone can help, I am new on this docker journey and I would really appreciate some help.</p>
  <p>Thank you.</p>