[yet another] Cannot connect to rTorrent...

106 views
Skip to first unread message

Luca Lesinigo

unread,
Jun 19, 2009, 3:25:09 PM6/19/09
to rtGui
Hello there. I have two systems, let's call them torrent & web, as you
may imagine rTorrent is running on the first one and apache on the
second one.

Apache is configured with one vhost on 127.0.0.1 which does the SCGI
mount (via tcp/ip to the other server), and another one on the
external ip that exposes rtGui to the 'net.

Apache, mod_scgi and the first vhost are ok, I can do:
web ~ $ xmlrpc localhost download_list started
Result:
Array of 6 items:
[....]

The first vhost is configured in apache with:
SCGIMount /RPC2 192.168.255.231:5000
...and in my rtGui config.php I have:
$rpc_connect="http://127.0.0.1/RPC2";
[...]

but when I try to access rtGui I only get:
Cannot connect to rtorrent :(

any help would be appreciated.

Luca Lesinigo

unread,
Jun 19, 2009, 3:28:30 PM6/19/09
to rtGui
oh, and I should add that tapping the traffic to 192.168.255.231:5000
with tcpdump I am sure that when using rtGui the webserver does not
even _try_ to connect to rTorrent, seems like the problem lies
somewhere between php running rtGui (php-5.2, has xmlrpc support, and
is linked to apache-2.2 as mod_php) and apache itself.
Reply all
Reply to author
Forward
0 new messages