===============================================================
root@mqtt2:~# ping -c 3 mqtt1.mydomain.com
PING mqtt1.mydomain.com (192.168.110.61) 56(84) bytes of data.
64 bytes from mqtt1.mydomain.com (192.168.110.61): icmp_seq=1 ttl=64 time=0.394 ms
64 bytes from mqtt1.mydomain.com (192.168.110.61): icmp_seq=2 ttl=64 time=0.410 ms
64 bytes from mqtt1.mydomain.com (192.168.110.61): icmp_seq=3 ttl=64 time=0.501 ms
--- mqtt1.mydomain.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2056ms
rtt min/avg/max/mdev = 0.394/0.435/0.501/0.047 ms
===============================================================
Could you help me please?
Thank you very much!
Bye
Check listener.vmq.clustering in vernemq.conf? I believe the default port is 18883, you could try "telnet mqtt1.mydomain.com 18883" to make sure it's listening on that interface.
===========================================================
listener.vmq.clustering = 192.168.110.61:44053
===========================================================
mqtt2 can telnet mqtt1 correctly:
===========================================================
root@mqtt2:~# telnet mqtt1.mydomain.com 44053
Trying 192.168.110.61...
Connected to mqtt1.mydomain.com.
Escape character is '^]'.
===========================================================
Thank you!
you need to use the VerneMQ node name in the cluster join command. That is, not the nodes' domain name, but the nodename as you have configured it in the vernemq.conf file.
===============================================================
nodename = Ver...@mqtt1.mydomain.com
===============================================================
Thank you!
--
You received this message because you are subscribed to the Google Groups "vernemq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vernemq-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vernemq-users/dec1d49c-7384-41c1-87c7-ad371d637600n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
But please try the following: just give all your nodes a name using nodename=a...@127.0.0.1 / b...@127.0.0.1 / c...@127.0.0.1, in their respective vernemq.conf files.The names will be stored by the port mapper daemon to match a name to a port (you can use "epmd -names" to check that).
Apologies, Daniele, I seem to have been too tired to understand this was not a local dev cluster with nodes on the same machine.
Have you tried to configure nodenames with their respective IPs, though?
If needed we can do a quick call one of these days, there's some possibly confusing technicalities to this (EPMD and how it separates names from hosts).