the call:
Code: Select all
self.httpServerConn = Domoticz.Connection(
Name="Zigate Server Connection",
Transport="TCP/IP",
Protocol="HTTP",
Address="127.0.0.1",
Port="9441"
)
if we print self.httpServerConn, we got the right information
"Name: 'Zigate Server Connection', Transport: 'TCP/IP', Protocol: 'HTTP', Address: '127.0.0.1', Port: '9441', Baud: -1, Timeout: 0, Connected: False, Parent: 'None'"
but if you do netstat to see the binding, this doesn't match the expectations
Code: Select all
~/dev-domoticz/plugins (development *=)$ sudo netstat -plutn | grep 9441
tcp 0 0 0.0.0.0:9441 0.0.0.0:* LISTEN 21268/domoticz