[mythtv-users] Cannot Connect To Backend
Hika van den Hoven
hikavdh at gmail.com
Sat Nov 29 16:38:10 UTC 2014
Hoi Paul,
Saturday, November 29, 2014, 8:46:25 AM, you wrote:
> On 29 November 2014 at 00:02, Hika van den Hoven <hikavdh at gmail.com> wrote:
>> Hoi Hika,
>>
>> Saturday, November 29, 2014, 12:09:46 AM, you wrote:
>>
>>> Also check what you have for Host in ~/.mythtv/config.xml on your backend.
>>> If it's 127.0.0.1, change it to localhost.
>>
>> This is funny. I have my ip-number in my.cnf and still localhost works
>> but 127.0.0.1 not. I never noticed for I never type the numbers.
>> Obviously localhost is either not resolved or is resolved to the full
>> ip-number. Weird.
>>
>> Tot mails,
>> Hika mailto:hikavdh at gmail.com
>>
> If you use 127.0.0.1 the client will always use the network to connect
> to the Mysql server even though they are both on the same machine. If
> you use localhost the client will try to connect through a socket to
> the server bypassing the network altogether. There is a Mysql setting
> to disable the networking altogether skip-networking which mean only
> local clients can connect through the socket.
> I'm not a sysadm but I was once told that using bind-address = 0.0.0.0
> was bad practice and for added security you should use the actual
> address you want Mysql to listen on here.
> Paul H.
> _______________________________________________
That was my idea, so I was surprised 127.0.0.1 wasn't working like
localhost.
Tot mails,
Hika mailto:hikavdh at gmail.com
"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"
De lerende Mens
More information about the mythtv-users
mailing list