<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 15, 2016 at 7:06 PM, Stephen Worthington <span dir="ltr"><<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>The address for localhost is 127.0.0.1, not your PC's external address<br></div></div>
(192.168.1.100).  If this is a completely new install, then you may<br>
need to set up mysql so that it is accessible on the external address<br>
and possibly also MythTV, although that option should still be in the<br>
database since it is an upgrade, not new.<br></blockquote><div><br></div><div>I've never understood when I should use 'localhost' and when I should use the external IP address in mythtv.  Right now, </div><div>MythTV frontend hostname = localhost</div><div>MythTV local backend = 192.168.1.100</div><div><div>MythTV master backend = 192.168.1.100</div></div><div>.mythtv/config.xml database host = localhost</div><div>/etc/apache2/sites-enabled/mythweb.conf: setenv db_server "localhost"<br></div><div><br></div><div>Is anything obviously wrong there?  </div><div><br></div><div>Per your advice I've been trying to to set up mysql so that it is accessible on the external address.  No luck so far, but I did notice that while 'wget <a href="http://192.168.1.100:6543" target="_blank">192.168.1.100:6543</a>' fails to connect,  'wget <a href="http://192.168.1.100:3306" target="_blank">192.168.1.100:3306</a>' does connect.  Does that help narrow down where the problem might be?  </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Your wget shows localhost being resolved to two addresses, which<br>
suggests that you have a modified /etc/hosts file where localhost has<br>
been set to two addresses, which is not usually a good idea.</blockquote><div><br></div><div>You got me -  I was trying something in /etc/hosts.  I've changed it back to the default:</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">127.0.0.1<span style="white-space:pre-wrap">      </span>localhost<br>192.168.1.100<span style="white-space:pre-wrap">        </span>MythPC</blockquote></div><div><br></div></div></div></div>