Fail to create MQTT connection

Fail to create MQTT connection

Hello!
I am trying to create a mqtt connection but it report fail and was closed like the picture below. I used a mqtt client to check but fail to connect also.
Please support me with this. Thank you.