[mythtv-users] Running MythWeb on a Different Server to MythBackend

Ian Barton lists at manor-farm.org
Thu Sep 29 14:48:08 UTC 2005


For various reasons I want to run MythWeb on a different server to the
one where MythBackend is installed.

First off I installed MythWeb on the same server as the backend, where
it works OK. Next I moved the files to another box on the same network
runnning Apache2. I edited my conf.php:


//  How to access the database
//
    define('db_host',     '192.168.0.21');
    define('db_username', 'mythtv');
    define('db_password', 'mythtv');
    define('db_dbname',   'mythconverg');

Now when I try to access MythWeb via the webserver that is not running
on the same box as MythBackend I get the following error:

Warning at /var/www/vhosts/wilkesley/mythweb/includes/mythbackend.php,
line 102:
fsockopen(): unable to connect to 127.0.0.1:6543

Note that the error says that it can't connect to 127.0.0.1 not
192.168.0.21, which is what I have in my conf.php. This suggests that
mythbackend.php isn't picking up the value from the configuration file.
Has anyone else seen this problem?

Ian.


More information about the mythtv-users mailing list