Page 1 of 1

MythSocket Failed to connect

Posted: Wed Jan 14, 2015 3:08 am
by john13
I have anew install of .27 with w7 and running into the problem below. Any help or direction is greatly appreciated.

MythCoreContext: Connecting to 192.168.1.26
MythSocket <5996650:-1> Failed to connec to 192.0.0.1:6543 connection refused.

I'm including the config.xml here and the backend files as uploads for reference.
Configuration>
<LocalHostName>192.168.1.26</LocalHostName>
<Database>
<PingHost>1</PingHost>
<Host>dad-PC</Host>
<UserName>mythtv</UserName>
<Password>mythtv</Password>
<DatabaseName>mythconverg</DatabaseName>
<Port>3306</Port>
</Database>
<WakeOnLAN>
<Enabled>0</Enabled>
<SQLReconnectWaitTime>0</SQLReconnectWaitTime>
<SQLConnectRetry>5</SQLConnectRetry>
<Command>echo 'WOLsqlServerCommand not set'</Command>
</WakeOnLAN>
</Configuration>

Re: MythSocket Failed to connect

Posted: Fri Jan 16, 2015 1:18 pm
by stuarta
What have you specified the backend ip address as in mythtv-setup? I suspect it's '192.0.0.1'. It should be set to the proper ip address of you mythbackend

Re: MythSocket Failed to connect

Posted: Sat Jan 24, 2015 4:55 pm
by Plerp
It's been a month or so now, so my memory of the exact error is hazy for me but in my experience I had set up mythTV only to be used on the one box. So there was a mySQL config file was defined as expecting connections from 127.0.0.1 (localhost). Commenting out this line allowed connections from outside. Maybe there's a safer way too (by adding another approved IP?). I used the information from here:

http://emmanuelcontreras.com/content/ho ... tv-backend

(or course once it connected nicely my windows build was using an old database schema and failed to go any further ... hopefully you have a more recent build.)
hth