On Thu, Sep 29, 2005 at 03:48:08PM +0100, Ian Barton 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?This is probably mythweb attempting to fetch XML from mythbackend (like for the "backend status" page). There is a setting somewhere in mythtv-setup or frontend setup to identify the backend (which defaults to 127.0.0.1). --Rob
signature.asc
Description: Digital signature
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
