MQTT not connected with Windows 11
Posted: Mon May 12, 2025 10:49 am
Hello,
I check my Pc App MQTT project with some Windows version. All good with Windows 7, Windows 10 but with Windows 11 I have the message "not connected". The return of MQTTClient1::Connect() Component is 0.
I tried with MQTT Explorer tool, I can connect and subscribe topic in mqtt and ws from the same PC.
I opened 1883 and 8883 tcp port in the Windows Firewall, I also open all communications from the FC runtime exe file.
"not connected" message is displayed when Is_Connected = 0 in the first condition of MQTT connection step.
I have only this problem with Windows 11, others Windows work fine with the same Pc App project.
Please can you check this ?
It's may be a new problem from the Runtime file.
EDIT: I tried with the local IP of the Host, but same problem.
Thank you.
PS: I know that Windows 11 is again a very bad OS from Microsoft but I must check this for my customers.
I check my Pc App MQTT project with some Windows version. All good with Windows 7, Windows 10 but with Windows 11 I have the message "not connected". The return of MQTTClient1::Connect() Component is 0.
I tried with MQTT Explorer tool, I can connect and subscribe topic in mqtt and ws from the same PC.
I opened 1883 and 8883 tcp port in the Windows Firewall, I also open all communications from the FC runtime exe file.
"not connected" message is displayed when Is_Connected = 0 in the first condition of MQTT connection step.
I have only this problem with Windows 11, others Windows work fine with the same Pc App project.
Please can you check this ?
It's may be a new problem from the Runtime file.
EDIT: I tried with the local IP of the Host, but same problem.
Thank you.
PS: I know that Windows 11 is again a very bad OS from Microsoft but I must check this for my customers.