MQTT no connection with ip adres.. Topic is solved

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
OedzesG
Posts: 106
Joined: Monday 11 March 2019 0:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

MQTT no connection with ip adres..

Post by OedzesG »

Hi all,

Hope someone can help me out with Mosquitto....

when ik connect Domoticz to mosquitto using: localhost or 127.0.0.1 Domoticz is connecting the right way to mosquitto, but when i use the exact ip adress: 192.168.178.17 in this case, the connection fails.

For Domoticz localhost is ok, but i need to connect another machine inside the localnetwork where the connection over and over fails....


Thnx!
User avatar
FireWizard
Posts: 1907
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: MQTT no connection with ip adres..

Post by FireWizard »

Hi, @OedzesG,

Just a simple question.

Do you have a Firewall installed on your device, that might be blocking port 1883?

Any other device between the two devices with a Firewall, such as a router?

Regards
OedzesG
Posts: 106
Joined: Monday 11 March 2019 0:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MQTT no connection with ip adres..

Post by OedzesG »

Do you have a Firewall installed on your device, that might be blocking port 1883?
Tnx for answer,

i allowd Ubuntu firewall (in my case) all the ports and ip adresses.
Problem is solved by adding

Code: Select all

# Local MQTT
listener 1883
# End Local MQTT
to the mosquitto.conf.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest