No connection to rTorrent issue

Hi Support team,
I’m having an error with rutorrent not connecting to rtorrent,

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.

Could i please get help on where to start with some feedback i can provide in regards to my system.
I’ve been searching around the forum and see similar problems but really don’t want to make changes without specific requests.


Linux 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


SSLPassPhraseDialog  builtin
SSLSessionCache         shmcb:/var/cache/mod_ssl/scache(512000)
SSLSessionCacheTimeout  300
#SSLMutex default
SSLRandomSeed startup file:/dev/urandom  256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
<VirtualHost *:80>
        RewriteEngine On
        RewriteCond %{HTTPS} !=on
        RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
        DocumentRoot "/srv/rutorrent/home"
        <Directory "/srv/rutorrent/home/">
                Options None
                AllowOverride None
                Require all granted
SCGIMount /trilton
<VirtualHost *:443>
Options +Indexes +MultiViews +FollowSymLinks
SSLEngine on
        DocumentRoot "/srv/rutorrent/home"
        <Directory "/srv/rutorrent/home/">
                Options +Indexes +FollowSymLinks +MultiViews
                AllowOverride All AuthConfig
                Order allow,deny
                Allow from all
        AuthType Digest
        AuthName "rutorrent"
        AuthUserFile '/etc/htpasswd'
        Require valid-user
        SSLEngine on
        SSLProtocol ALL -SSLv2 -SSLv3
        SSLHonorCipherOrder On
        SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
        SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
        SetEnvIf User-Agent ".*MSIE.*" \
                 nokeepalive ssl-unclean-shutdown \
                 downgrade-1.0 force-response-1.0


  @define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0', true);
  @define('HTTP_TIME_OUT', 30, true);
  @define('HTTP_USE_GZIP', true, true);
  $httpIP = null;
  @define('RPC_TIME_OUT', 5, true);
  @define('LOG_RPC_CALLS', false, true);
  @define('LOG_RPC_FAULTS', true, true);
  @define('PHP_USE_GZIP', false, true);
  @define('PHP_GZIP_LEVEL', 2, true);
  $schedule_rand = 10;
  $do_diagnostic = true;
  $log_file = '/tmp/errors.log';
  $saveUploadedTorrents = true;
  $overwriteUploadedTorrents = false;
  $topDirectory = '/home/trilton/';
  $forbidUserSettings = false;
  $scgi_port = ####;  << REDACTED FOR SECURITY
  $scgi_host = "localhost";
  $XMLRPCMountPoint = "/RPC2";
  $pathToExternals = array("php" => '',"curl" => '',"gzip" => '',"id" => '',"stat" => '',);
  $localhosts = array("", "localhost",);
  $profilePath = '../share';
  $profileMask = 0777;
  $autodlPort = ####;  << REDACTED FOR SECURITY
  $autodlPassword = "#############"; << REDACTED FOR SECURITY
$diskuser = "/";
$quotaUser = "trilton";

Many Thanks!

Hey @Trilton,

Check out this post and it’s solution. This may be the issue you are having as well. Additionally, you may need to reboot after you apply the solution.

Hi @JMSolo

I entered the command as instructed and it returned:

Acquire::ForceIPv4 “true”;
apt install rtorrent
I then rebooted, the change does not seem to have affected the error.
For reference, i have been following this guide since:


What are the results of

systemctl status rtorrent@trilton