I installed mosquitto 1.5.7 on Windows 7 and made it subscribe and publish successfully on a local host but mosquitto failed to make connection to ubidot the publish
mosquitto_pub -h "things.api.ubidots.com" -t "/v1.6/devices/plc" -u "token user" -p 1883 -q 1 -m '{"water level":17}'
gives the result
“Unable to connect (Lookup error.).
and when trying
mosquitto -c configfile
the result is
Error: Unable to open config file
Error found at configfile:0.
Error: Unable to open configuration file
I need to connect MQTT to OPC server for connect my PLC to IoT.
When I enter mosquitto
-v I get this messages:
C:\Program Files\mosquitto>mosquitto -v
1550907715: mosquitto version 1.5.7 starting
1550907715: Using default config.
1550907715: Opening ipv6 listen socket on port 1883.
1550907715: Error: Only one usage of each socket address (protocol/network address/port) is normally permitted.