more G-Labs products

Author Topic: MQTT Broker on Pi?  (Read 891 times)

February 23, 2016, 11:47:07 PM
Read 891 times

[email protected]

  • *****
  • Information
  • Hero Member
  • Posts: 271
I'm getting this which I think is from the MQTT broker, as its not listening on port 1883..

2016-02-23 22:23:49.6846 Info Protocols.MqttBrokerService
2016-02-23 22:23:49.7319 Info HomeAutomation.HomeGenie  0       HomeGenie service ready SystemInfo.HttpAddress  +:80
2016-02-23 22:23:49.7944 Error HomeAutomation.HomeGenie Trapper Unhandled Exception     Error.Exception System.Net.Sockets.SocketException: An address incompatible with the requested protocol was used
  at System.Net.Sockets.Socket..ctor (AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) [0x00000] in <filename unknown>:0
  at System.Net.Sockets.TcpListener.Init (AddressFamily family, System.Net.EndPoint ep) [0x00000] in <filename unknown>:0
  at System.Net.Sockets.TcpListener..ctor (System.Net.IPAddress localaddr, Int32 port) [0x00000] in <filename unknown>:0
  at uPLibrary.Networking.M2Mqtt.Communication.MqttTcpCommunicationLayer.ListenerThread () [0x00000] in <filename unknown>:0
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0

Iptables, not enabled..

sudo iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

$ sudo netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      3033/mono
tcp        0      0 192.168.0.172:47828     0.0.0.0:*               LISTEN      3033/mono
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2203/sshd
tcp        0      0 127.0.0.1:51618         0.0.0.0:*               LISTEN      3033/mono
udp        0      0 127.0.0.1:41917         0.0.0.0:*                           3033/mono
udp        0      0 0.0.0.0:26360           0.0.0.0:*                           1863/dhclient
udp        0      0 0.0.0.0:68              0.0.0.0:*                           1863/dhclient
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           3033/mono
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           3033/mono
udp        0      0 192.168.0.172:38774     0.0.0.0:*                           3033/mono
udp        0      0 192.168.0.172:123       0.0.0.0:*                           2125/ntpd
udp        0      0 127.0.0.1:123           0.0.0.0:*                           2125/ntpd
udp        0      0 0.0.0.0:123             0.0.0.0:*                           2125/ntpd


« Last Edit: February 23, 2016, 11:51:57 PM by [email protected] »

March 17, 2016, 08:30:24 PM
Reply #1

[email protected]

  • *****
  • Information
  • Hero Member
  • Posts: 271
Looks like this maybe .net related, as just tried it on a pi3 running later versions of mono and its listening on 1883..