[mythtv-users] Unable to connect to the master backend at 192.168.1.100:6543 (16.04 & 0.28)

Stephen Worthington stephen_agent at jsw.gen.nz
Sat Apr 16 02:06:06 UTC 2016


On Fri, 15 Apr 2016 14:50:20 -0700, you wrote:

>OK, I believe I have narrowed it down to an IP address / localhost issue.
>
>The mythtv-status error message is:
>
>> Couldn't communicate with 192.168.1.100 on port 6543:
>>  IO::Socket::INET::MythTV: connect: Connection refused
>
>
>So I did these two tests:
>
>> $ wget 192.168.1.100:6543
>> --2016-04-15 14:40:56--  http://192.168.1.100:6543/
>> Connecting to 192.168.1.100:6543... failed: Connection refused.
>
>
>and
>
>$ wget localhost:6543
>> --2016-04-15 14:41:43--  http://localhost:6543/
>> Resolving localhost (localhost)... 127.0.0.1, 192.168.1.100
>> Connecting to localhost (localhost)|127.0.0.1|:6543... connected.
>> HTTP request sent, awaiting response...
>
>
>So localhost works and 192.168.1.100 (my PC's IP address) doesn't, even
>though I thought they were equivalent.
>
>Normally I'd start changing "localhost" to "192.168.1.100" (or vice versa)
>everywhere I can, but I've decided it might be wiser to try to get the
>advice of someone who knew what they were doing.
>
>Can this be resolved more simply (maybe in /etc/hosts?)?

The address for localhost is 127.0.0.1, not your PC's external address
(192.168.1.100).  If this is a completely new install, then you may
need to set up mysql so that it is accessible on the external address
and possibly also MythTV, although that option should still be in the
database since it is an upgrade, not new.

Your wget shows localhost being resolved to two addresses, which
suggests that you have a modified /etc/hosts file where localhost has
been set to two addresses, which is not usually a good idea.


More information about the mythtv-users mailing list