[mythtv-users] Cannot connect to backend?

Seth sethsec at gmail.com
Mon Nov 26 21:13:00 UTC 2007


> I updated using svn last night and now when starting mythfrontend the
backend server can't
>  be found.  Both my frontend and backend run on the same machine, so the
ip address is
>  127.0.0.1 and I'm using the default port (6543 I think).

To achieve the same effect, without touching sql, you could just rerun
MythSetup and replace both instances where you see 127.0.0.1 with the
physical address (ex: 192.168.1.100).  restart the backend and you should be
all set.

-Seth

On Nov 25, 2007 7:41 AM, Dave <dave at 0bits.com> wrote:
Mark Rutten markgrutten at yahoo.com.au:
 > I've been running the head of mythtv development version, updating
 > reasonably regularly.  I updated using svn last night and now when
 > starting mythfrontend the backend server can't be found.  Both my
 > frontend and backend run on the same machine, so the ip address is
 > 127.0.0.1 and I'm using the default port (6543 I think).
 >
 > Is there a way to overcome this problem?  Is there something new that
 > I should be doing?

I found the only solution was to use a non localhost ip address. Do this
in your mysql

  select * from settings where value like '%ServerIP'

You should get

+-----------------+----------+
>
> ----------+
> | value           | data     | hostname |
> +-----------------+----------+----------+
> | BackendServerIP | 127.0.0.1| htpc     |
> | MasterServerIP  | 127.0.0.1| NULL     |
> +-----------------+----------+----------+
> 2 rows in set (0.00 sec)
>
>
> Change those to a non local ip address for machine's interface. So i had
> to do (my ip address was 1.0.0.40) the following
>
> update settings set data='1.0.0.40' where value='MasterServerIP';
> update settings set data='1.0.0.40' where value='BackendServerIP';
>
>
> Now all is fine again.
>
> Cheers
> D
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



On Nov 25, 2007 6:13 AM, Mark Rutten <markgrutten at yahoo.com.au> wrote:

> I've been running the head of mythtv development version, updating
> reasonably regularly.  I updated using svn last night and now when starting
> mythfrontend the backend server can't be found.  Both my frontend and
> backend run on the same machine, so the ip address is 127.0.0.1 and I'm
> using the default port (6543 I think).
>
> Is there a way to overcome this problem?  Is there something new that I
> should be doing?
>
>
>      Make the switch to the world's best email. Get the new Yahoo!7 Mail
> now. www.yahoo7.com.au/worldsbestemail
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20071126/4b26b5a9/attachment-0001.htm 


More information about the mythtv-users mailing list