# Troubleshooting

## Container Service Startup Exception

If you encounter a startup exception while accessing the container, follow these steps for diagnosis:

1. Access the container

Use the following command to access the container
```bash
docker exec -ti apidog sh
```
Note: Replace `apidog` with your Apidog container name.

2. Run the diagnostic checks

Use the following commands to within the container to check the health of the services:

```bash
./doctor
nc -vz $MYSQL_HOST $MYSQL_PORT
nc -vz $REDIS_HOST $REDIS_PORT
node env-test.js
```

If any errors occur during the execution of the above commands, please collect the log output and provide it to the Apidog support team for further investigation.

