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

Robert Tsai rtsai1111 at comcast.net
Thu Sep 29 15:01:37 UTC 2005

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',     '');
>     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
> Note that the error says that it can't connect to not
>, 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20050929/f5dede51/attachment.pgp

More information about the mythtv-users mailing list