How to use component 3rdParty paho.mqtt.c

using the real ip I got the error return -6

Feb 19 14:56:41 fx30s user.info Legato:  INFO | testPublisher[4655]/testPublisher T=main | testPublisher.c _testPublisher_COMPONENT_INIT() 111 | mqttBrokerURI tcp://104.198.201.218:1883
Feb 19 14:56:41 fx30s user.info Legato:  INFO | testPublisher[4655]/testPublisher T=main | testPublisher.c _testPublisher_COMPONENT_INIT() 112 | clientId 354723090107292-pub
Feb 19 11:56:41 fx30s user.info Legato:  INFO | mqttClientService[1074] | =========================================================
Feb 19 11:56:41 fx30s user.info Legato:  INFO | mqttClientService[1074] |                    Trace Output
Feb 19 11:56:41 fx30s user.info Legato:  INFO | mqttClientService[1074] | Product name: Eclipse Paho Synchronous MQTT C Client Library
Feb 19 11:56:41 fx30s user.info Legato:  INFO | mqttClientService[1074] | Version: 1.3.0
Feb 19 11:56:41 fx30s user.info Legato:  INFO | mqttClientService[1074] | Build level: ter 16 fev 2021 15:51:51 -03
Feb 19 11:56:41 fx30s user.info Legato:  INFO | mqttClientService[1074] | OpenSSL version: OpenSSL 1.0.2p  14 Aug 2018
Feb 19 11:56:41 fx30s user.info Legato:  INFO | mqttClientService[1074] | OpenSSL flags: compiler: arm-poky-linux-gnueabi-gcc -march=armv7-a -mfpu=neon -mfloat-abi=softfp -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security 
Feb 19 11:56:41 fx30s user.info Legato:  INFO | mqttClientService[1074] | bug-types -Wall -Wa,--noexecstack
Feb 19 11:56:41 fx30s user.info Legato:  INFO | mqttClientService[1074] | OpenSSL build timestamp: built on: reproducible build, date unspecified
Feb 19 11:56:41 fx30s user.info Legato:  INFO | mqttClientService[1074] | OpenSSL platform: platform: linux-armv4
Feb 19 11:56:41 fx30s user.info Legato:  INFO | mqttClientService[1074] | OpenSSL directory: OPENSSLDIR: "/usr/lib/ssl"
Feb 19 11:56:41 fx30s user.info Legato:  INFO | mqttClientService[1074] | =========================================================
Feb 19 11:56:41 fx30s user.err kernel: [ 1243.191660] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 11:56:42 fx30s user.err kernel: [ 1244.192160] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 11:56:43 fx30s user.err kernel: [ 1245.541988] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 11:56:44 fx30s user.err kernel: [ 1246.192173] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 11:56:45 fx30s user.err kernel: [ 1247.576582] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 11:56:49 fx30s user.err kernel: [ 1251.121999] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 11:56:50 fx30s user.err kernel: [ 1252.423537] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 11:56:55 fx30s user.err kernel: [ 1257.025079] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 11:56:56 fx30s user.err kernel: [ 1258.220732] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 11:56:58 fx30s user.err kernel: [ 1260.763566] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 11:57:12 fx30s user.err kernel: [ 1274.281403] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 11:57:14 fx30s user.err kernel: [ 1275.823547] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 11:57:44 fx30s user.err kernel: [ 1306.361519] disconnect_to_bam: shutdown completion time was: 5000 msec
Feb 19 14:57:46 fx30s user.warn Legato: -WRN- | mqttClientService[1074]/mqttClientServiceComponent T=main | mqttClientServiceComponent.c mqtt_Connect() 361 | Socket error
Feb 19 14:57:46 fx30s user.err Legato: =ERR= | testPublisher[4655]/testPublisher T=main | testPublisher.c _testPublisher_COMPONENT_INIT() 138 | Connection failed! error -6