title: Docker http://localhost:8000 it is not working
body: <p>I am new to Docker and tried to install WordPress in Docker</p>
  
  <pre><code>Details are : 
  OS : Windows 10 Home
  Docker Version : Docker version 19.03.1, build 74b1e89e8a
  docker-compose version 1.24.1, build 4667896b
  </code></pre>
  
  <p>I done following steps</p>
  
  <pre class="lang-yaml prettyprint-override"><code>version: '3.3'
    services:
    db:
      image: mysql:5.7
    volumes:
      - db_data:/var/lib/mysql
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: mysql
      MYSQL_USER: admin
      MYSQL_PASSWORD: admin
    wordpress:
      depends_on:
        - db
    image: wordpress:latest
    ports:
      - "8000:80"
    restart: always
    environment:
      WORDPRESS_DB_HOST: db:3306
      WORDPRESS_DB_USER: admin
      WORDPRESS_DB_PASSWORD: admin
      WORDPRESS_DB_NAME: admin
    volume:
      db_data: {}
  </code></pre>
  
  <p>It is working fine</p>
  
  <pre><code>$ docker ps                                                                                                                                            CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                  NAMES
  944e0ea8ff69        wordpress:latest    "docker-entrypoint.s…"   34 minutes ago      Up 34 minutes       0.0.0.0:8000-&gt;80/tcp   wordpress_wordpress_1
  5a3890fed7fe        redis               "docker-entrypoint.s…"   45 minutes ago      Up 45 minutes       6379/tcp               sleepy_matsumoto
  4edf3f9fc944        mysql:5.7           "docker-entrypoint.s…"   About an hour ago   Up 38 minutes       3306/tcp, 33060/tcp    wordpress_db_1
  </code></pre>
  
  <p>But when I am running <a href="http://localhost:8000" rel="nofollow noreferrer">http://localhost:8000</a> or <a href="http://localhost:80" rel="nofollow noreferrer">http://localhost:80</a> in browser it is showing site is not reachable. How can I resolve this?</p>