Attempting MQTT connection...Failed. Count = 1 ...trying again in 5 seconds

here is a problem with home assistant and esp32 communication
I keep getting an error message in arduino serial communication.

WiFi connected

IP address:

Attempting MQTT connection…Failed. Count = 1

…trying again in 5 seconds

Attempting MQTT connection…Failed. Count = 2

…trying again in 5 seconds

Attempting MQTT connection…Failed. Count = 3

…trying again in 5 seconds

Attempting MQTT connection…Failed. Count = 4

Here’s the code I’m trying to follow.

I want to know if it was blocked for security reasons

I changed from https to http

But it didn’t run.

I tried it because it seemed similar to me, but it failed.

I also put this
/configuration.yaml

mqt:
broker: 00.00.00.0

But it didn’t work.