Connection refused docker, laravel and mysql server

So I have this docker illustration

enter image description here

As you can see my laravel app is trying to do a database connection in the container where the MySQL server is being installed and setup.

The instance of laravel app is accessible using this port

192.168.0.XX:3021

and the container is accessible using this IP

192.168.0.61

and the MySQL Server credential is:

USER3021 I just tried to create this user account with ‘%’ wild card capability and with

GRANT ALL PRIVILEGES ON *.* TO 'USER3021' IDENTIFIED BY 'xxxxxxx';

and when I try to connect the laravel app and MySQL server with this .env file

 DB_CONNECTION=mysql
 DB_HOST=192.168.0.XX
 DB_PORT=3306
 DB_DATABASE=myTable
 DB_USERNAME=USER3021
 DB_PASSWORD=xxxxxxx

enter image description here

The laravel gives me an error like this

Connection refused mysql

Source: StackOverflow