MQTT Connection Failure

Hi,       I am trying to connect to local Mosquitto Broker(Shown in command line in snap).I have done the setting after reading comments from community. I am not able to connect. In broker host filed  I tried using '' which worked,but I want to connect to local Mosquitto ,so when I try giving ‘localhost ‘ or IP etc .It is not working . Need some guidance on using the connector.   Also please find the below stack trace. org.eclipse.paho.client.mqttv3.MqttException: Unable to connect to server     at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(     at org.eclipse.paho.client.mqttv3.internal.ClientComms$     at java.base/ Caused by: Connection refused: connect     at java.base/ Method)     at java.base/     at java.base/     at java.base/     at java.base/     at java.base/     at java.base/     at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(     at org.eclipse.paho.client.mqttv3.internal.ClientComms$     at java.base/
1 answers

Hi Atif, are you using the MQTT Client module? We also have a platform supported connector available: