Im getting this error can u please help. File "C:\Users\deboj\anaconda3\envs\yolo_env\lib\socket.py", line 833, in create_connection sock.connect(sa) ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
This is just a topic name on which we are transmitting the message, you may use your own name here, just make sure that topic name is same in both files. You may use your name as, topic_name = viet/dung/nguyen I hope it helps :)
Im getting this error can u please help. File "C:\Users\deboj\anaconda3\envs\yolo_env\lib\socket.py", line 833, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
can i have one question? in publisher.py file i see "topic_name = aman/cdac/test". So where do you get this text "aman/cdac/test"? thank you so much
This is just a topic name on which we are transmitting the message, you may use your own name here, just make sure that topic name is same in both files. You may use your name as,
topic_name = viet/dung/nguyen
I hope it helps :)
@@query4aman oh thank you ! it's usefull
@@vietdungnguyen643 I am glad that you like it 😊
can u share your code??
Sure brother, I will share it on my GitHub and will share the link soon.
@@query4aman any update on code?
Please refer to the link for the given code below
github.com/amankanwar/PAHO-MQTT/tree/master
@@nehapant9792 Please refer to the link below: :)
github.com/amankanwar/PAHO-MQTT/tree/master