Ole8700 / openhab

Automatically exported from code.google.com/p/openhab
GNU General Public License v3.0
1 stars 0 forks source link

mDNS binds to IPv6 only #288

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On my Ubuntu laptop, JmDNS only binds to IPv6, even if the interface also has 
an IPv4 address. JmDNS.create() seems not to be the preferred constructor as 
stated in the Javadoc:

http://jmdns.sourceforge.net/apidocs/javax/jmdns/JmDNS.html#create%28%29

By the way, currently jetty listens on all interfaces. This is not always a 
good thing. Maybe a new setting in the configuration should be added to 
configure the interface or IP address to use for jetty. This could also be used 
by JmDNS to register the services on the right interface.

+  wlan0 IPv6 openHAB-ssl             _openhab-server-ssl._tcp local
+  wlan0 IPv6 openHAB                 _openhab-server._tcp local

=  wlan0 IPv6 openHAB-ssl                                   
_openhab-server-ssl._tcp local
   hostname = [fe80\0580\0580\0580\05886a6\058c8ff\058fe7f\05816c4\03729.local]
   address = [fe80::86a6:c8ff:fe7f:16c4]
   port = [8443]
   txt = ["uri=/rest"]
=  wlan0 IPv6 openHAB                                       
_openhab-server._tcp local
   hostname = [fe80\0580\0580\0580\05886a6\058c8ff\058fe7f\05816c4\03729.local]
   address = [fe80::86a6:c8ff:fe7f:16c4]
   port = [8080]
   txt = ["uri=/rest"]

Original issue reported on code.google.com by cyril.ja...@gmail.com on 7 May 2013 at 9:11

GoogleCodeExporter commented 9 years ago

Original comment by kai.openhab on 22 May 2013 at 8:25

GoogleCodeExporter commented 9 years ago
Issue 499 has been merged into this issue.

Original comment by kai.openhab on 1 Nov 2013 at 7:39

GoogleCodeExporter commented 9 years ago

Original comment by kai.openhab on 1 Nov 2013 at 7:40

GoogleCodeExporter commented 9 years ago
Migrated to https://bugs.eclipse.org/bugs/show_bug.cgi?id=423513

Original comment by kai.openhab on 7 Dec 2013 at 9:12