[mythtv-commits] Ticket #10165: port 6544 listening only on ipv6
MythTV
noreply at mythtv.org
Thu Dec 1 23:47:11 UTC 2011
#10165: port 6544 listening only on ipv6
-----------------------------------+----------------------------
Reporter: warpme@… | Owner: danielk
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - Mythtv-setup | Version: Trunk Head
Severity: medium | Resolution: Invalid
Keywords: | Ticket locked: 0
-----------------------------------+----------------------------
Comment (by gcc@…):
The original reporter of this bug has an IPv6-capable system, but he uses
only IPv4 addresses. This is what Fedora 16 is providing by default, for
example. He was correct in asserting that port 6544 is being bound to an
IPv6 address on his IPv6-capable system. The root cause is
MythCoreContext::MythHostAddressAny() returns an IPv6 unspecified address
if any IPv6 addresses were detected on the host; it doesn't consider the
fact that you never configured any IPv6 addresses for use with the
mythbackend. You can have success connecting via an IPv4-only transport
to that IPv6-bound port, which provides a semblance of working operation.
Other parts of the system, however, break. In the UPnP support, URLBase
will be reported as something similar to "[::FFFF:C0A8:B47]:6544" rather
than "192.168.11.71:6544". The IPv6 address is unusable by any device
which expects IPv4-only addresses. One way to fix the problem is to
modify MediaServer::Init() so that the httpServer listen() is done with an
IPv4 QHostAddress::Any unless an explicit IPv6 address was used to define
BackendServerIP address; in that case, use QHostAddress::AnyIPv6.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10165#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list