Can't connect to 192.168.99.100:8000

Not sure where I went wrong but something isn’t working. I am trying to access the wordpress site I created using docker-compose with this file:

version: "3"

services:
  db:
    image: mysql:5.7
    volumes:
      - db_data:/var/lib/mysql
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: test_wp_db
      MYSQL_USER: un
      MYSQL_PASSWORD: pass
    networks:
      - wpsite
  wordpress:
    depends_on:
      - db
    image: wordpress:latest
    ports:
      - "8000:80"
    restart: always
    volumes: ["./:/var/www/html"]
    environment:
      WORDPRESS_DB_HOST: db:3306
      WORDPRESS_DB_USER: aj
      WORDPRESS_DB_PASSWORD: pass
    networks:
      - wpsite
networks:
  wpsite:
volumes:
  db_data:

Once that is spun up, I try to access the VM machine and view the WP site but instead it says the site cannot be reached. I haven’t had this problem before so I am not sure where to look.

Figured out the issue, the db name I was using was apparently unreadable so I had to change that and completely remove all volumes and files then restarted it.