[mythtv-users] Running MythWeb on a Different Server to
MythBackend
Nick Rosier
nick.rosier at gmail.com
Thu Sep 29 14:58:08 UTC 2005
On 29/09/05, Ian Barton <lists at manor-farm.org> wrote:
> 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?
In the mythfrontend-settings, change your backend to 192.168.0.21 in
stead of 127.0.0.1 and try again.
N.
More information about the mythtv-users
mailing list