No connection to rTorrent

jith45

Member
May 25, 2018
960
0
16
Hello everyone,

probably this is the most posted question, but I didn't found any solution searching inside the forum.
I have installed ruTorrent using the installation script, I chose Apache as webserver.
However, when I try to open ruTorrent, I got this error message:

Code:
No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.
There is no lock file, and if I try to manually start the service using:
Code:
/etc/init.d/autodl_<username> start
it asks me the password two times, everything seems working fine, but then if I check the status it tells me that rtorrent is stopped.

Any help?

EDIT:
Running the rtorrent command, I get this output:
Code:
Could not prepare socket for listening: Cannot assign requested address
The port/address used it this:
scgi_port = 127.0.0.1:23876

So, instead of using the local address, I used this ip 192.168.0.105 (ip of my Raspberry). Now rtorrent start without any problem, but ruTorrent doesn't ;(
 

somus1735

Member
May 25, 2018
833
0
16
Set $scgi_host in config.php to correct value. Add '192.168.0.105' to $localhosts array in config.php.