Cannot access Matomo - **Warning:** You are now accessing Matomo from

Hi,

I am just starting to use Matomo and have using the docker version. I was able to run the initial setup fine. Now I want to access Matamo web (php) using 127.0.0.1:9051/ and I get this error

Warning: You are now accessing Matomo from https://127.0.0.1:9051/ , but Matomo has been configured to run at this address: https://127.0.0.1/ .

I am using config.ini.php as suggested

[General]
trusted_hosts[] = “127.0.0.1:9051”
enable_trusted_host_check=0

and override in docker-compose

matomo:

volumes:
- matomo:/var/www/html
- ./config.ini.php:/usr/src/matomo/config/config.ini.php

And I verified the file is getting copied to the container

docker exec -it matomo-app cat /usr/src/matomo/config/config.ini.php
[General]
trusted_hosts[] = “127.0.0.1:9051”
enable_trusted_host_check=0

How do I resolve this issue? I cannot use port 80 as I am using another app there.

Thanks