Cannot connect to frigate

I installed frigate on a seperate device.
I checked port 5000 is open. Frigate does not show any errors related to mqtt
In frigate this is part of my configuration:

mqtt:
  enabled: true
  host: 192.168.2.35
  port: 1883
  user: username
  password: password
  topic_prefix: frigate
  client_id: frigate

In Home assistant I added a user with used username
The broker in home assistant has another username (correct ???)
To connect the frigate-add on I use ip adress of my frigate device with fortname 5000 (192.168.2.66:5000). But still connections fails

I tried several ip-adresses and portnames, but everything fails.
I assume it has to do with mqtt but don’t know what I am doing wrong (after searching the internet and a lot of youtube videos)
Anyone knows how to solve this ? Thanks in advance

Edit: I modified the mqtt by setting listening to anything, but still cannot connect the frigate add-on to my frigate server

EDIT2: In the logging of Home assistant I find lines like this :
effcb4a3-5cb38861 beweging gedetecteerd

I am dutch “beweging gedecteerd” means “movement detected”
I am not sure whether this lines comes from frigate or from other camera settings