Deluge daemon connection?












7















My deluge-console is suddenly giving me this error



Failed to connect to 127.0.0.1:58846 with reason: Connection refused 


why is this error.I have done nothing and the GUI deluge runs fine.Its the problem in console only? Why localhost is refusing connection and how do I connect to daemon? I have tried the command



connect 127.0.0.1 58846


but it doesnt seems to work.










share|improve this question



























    7















    My deluge-console is suddenly giving me this error



    Failed to connect to 127.0.0.1:58846 with reason: Connection refused 


    why is this error.I have done nothing and the GUI deluge runs fine.Its the problem in console only? Why localhost is refusing connection and how do I connect to daemon? I have tried the command



    connect 127.0.0.1 58846


    but it doesnt seems to work.










    share|improve this question

























      7












      7








      7


      2






      My deluge-console is suddenly giving me this error



      Failed to connect to 127.0.0.1:58846 with reason: Connection refused 


      why is this error.I have done nothing and the GUI deluge runs fine.Its the problem in console only? Why localhost is refusing connection and how do I connect to daemon? I have tried the command



      connect 127.0.0.1 58846


      but it doesnt seems to work.










      share|improve this question














      My deluge-console is suddenly giving me this error



      Failed to connect to 127.0.0.1:58846 with reason: Connection refused 


      why is this error.I have done nothing and the GUI deluge runs fine.Its the problem in console only? Why localhost is refusing connection and how do I connect to daemon? I have tried the command



      connect 127.0.0.1 58846


      but it doesnt seems to work.







      connection bittorrent localhost deluge






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 2 '13 at 14:22









      Tamim AddariTamim Addari

      4594724




      4594724






















          3 Answers
          3






          active

          oldest

          votes


















          6














          The most probable reason is that you are not running the daemon. To start the daemon use
          deluged



          Then try deluge-console






          share|improve this answer































            4














            The most common reason is because you are running deluged as a different user to the one you are running deluge-console with.



            From the Deluge wiki:




            If you are running deluged under another user you will need to
            temporarily login as that user to enable deluge-console to access that
            daemon's config:



            su --shell /bin/bash --login deluge






            share|improve this answer
























            • I can't make this work. Do I need some config on deluge user? I added him a password but still not working. I find dev.deluge-torrent.org/wiki/UserGuide/… here something about a mysthic auth file but I can't find it on my installation.

              – Cirelli94
              Feb 24 '17 at 10:50











            • This is for the local user deluge to connect to a running daemon so uses the localhost password that is autogenerated. For reference the auth file is in ~/.config by default, see the Deluge wiki pages for details. Ask in Deluge forums if you have further questions.

              – Cas
              Feb 24 '17 at 11:19





















            0














            Assuming that your actual user name is "pi" (or change it with the correct one), try this:



            sudo nano /etc/rc.local


            then, at the end of the file, between "fi" and "exit 0" add the following lines:



            # Start Deluge on boot:


            sudo -u pi /usr/bin/python /usr/bin/deluged


            # Start Deluge-Web on boot:


            sudo -u pi /usr/bin/python /usr/bin/deluge-web


            Just copy and paste all but if you don't use the web interface cut off the last two lines above here;
            after this, do: ctrl-x , reply "y" , push "return button" and then type "sudo reboot".
            Everithing should be fixed after restart.






            share|improve this answer

























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f315459%2fdeluge-daemon-connection%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              6














              The most probable reason is that you are not running the daemon. To start the daemon use
              deluged



              Then try deluge-console






              share|improve this answer




























                6














                The most probable reason is that you are not running the daemon. To start the daemon use
                deluged



                Then try deluge-console






                share|improve this answer


























                  6












                  6








                  6







                  The most probable reason is that you are not running the daemon. To start the daemon use
                  deluged



                  Then try deluge-console






                  share|improve this answer













                  The most probable reason is that you are not running the daemon. To start the daemon use
                  deluged



                  Then try deluge-console







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 14 '15 at 9:07









                  JiskyaJiskya

                  1,05841721




                  1,05841721

























                      4














                      The most common reason is because you are running deluged as a different user to the one you are running deluge-console with.



                      From the Deluge wiki:




                      If you are running deluged under another user you will need to
                      temporarily login as that user to enable deluge-console to access that
                      daemon's config:



                      su --shell /bin/bash --login deluge






                      share|improve this answer
























                      • I can't make this work. Do I need some config on deluge user? I added him a password but still not working. I find dev.deluge-torrent.org/wiki/UserGuide/… here something about a mysthic auth file but I can't find it on my installation.

                        – Cirelli94
                        Feb 24 '17 at 10:50











                      • This is for the local user deluge to connect to a running daemon so uses the localhost password that is autogenerated. For reference the auth file is in ~/.config by default, see the Deluge wiki pages for details. Ask in Deluge forums if you have further questions.

                        – Cas
                        Feb 24 '17 at 11:19


















                      4














                      The most common reason is because you are running deluged as a different user to the one you are running deluge-console with.



                      From the Deluge wiki:




                      If you are running deluged under another user you will need to
                      temporarily login as that user to enable deluge-console to access that
                      daemon's config:



                      su --shell /bin/bash --login deluge






                      share|improve this answer
























                      • I can't make this work. Do I need some config on deluge user? I added him a password but still not working. I find dev.deluge-torrent.org/wiki/UserGuide/… here something about a mysthic auth file but I can't find it on my installation.

                        – Cirelli94
                        Feb 24 '17 at 10:50











                      • This is for the local user deluge to connect to a running daemon so uses the localhost password that is autogenerated. For reference the auth file is in ~/.config by default, see the Deluge wiki pages for details. Ask in Deluge forums if you have further questions.

                        – Cas
                        Feb 24 '17 at 11:19
















                      4












                      4








                      4







                      The most common reason is because you are running deluged as a different user to the one you are running deluge-console with.



                      From the Deluge wiki:




                      If you are running deluged under another user you will need to
                      temporarily login as that user to enable deluge-console to access that
                      daemon's config:



                      su --shell /bin/bash --login deluge






                      share|improve this answer













                      The most common reason is because you are running deluged as a different user to the one you are running deluge-console with.



                      From the Deluge wiki:




                      If you are running deluged under another user you will need to
                      temporarily login as that user to enable deluge-console to access that
                      daemon's config:



                      su --shell /bin/bash --login deluge







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Jul 2 '13 at 16:13









                      CasCas

                      5,34735196




                      5,34735196













                      • I can't make this work. Do I need some config on deluge user? I added him a password but still not working. I find dev.deluge-torrent.org/wiki/UserGuide/… here something about a mysthic auth file but I can't find it on my installation.

                        – Cirelli94
                        Feb 24 '17 at 10:50











                      • This is for the local user deluge to connect to a running daemon so uses the localhost password that is autogenerated. For reference the auth file is in ~/.config by default, see the Deluge wiki pages for details. Ask in Deluge forums if you have further questions.

                        – Cas
                        Feb 24 '17 at 11:19





















                      • I can't make this work. Do I need some config on deluge user? I added him a password but still not working. I find dev.deluge-torrent.org/wiki/UserGuide/… here something about a mysthic auth file but I can't find it on my installation.

                        – Cirelli94
                        Feb 24 '17 at 10:50











                      • This is for the local user deluge to connect to a running daemon so uses the localhost password that is autogenerated. For reference the auth file is in ~/.config by default, see the Deluge wiki pages for details. Ask in Deluge forums if you have further questions.

                        – Cas
                        Feb 24 '17 at 11:19



















                      I can't make this work. Do I need some config on deluge user? I added him a password but still not working. I find dev.deluge-torrent.org/wiki/UserGuide/… here something about a mysthic auth file but I can't find it on my installation.

                      – Cirelli94
                      Feb 24 '17 at 10:50





                      I can't make this work. Do I need some config on deluge user? I added him a password but still not working. I find dev.deluge-torrent.org/wiki/UserGuide/… here something about a mysthic auth file but I can't find it on my installation.

                      – Cirelli94
                      Feb 24 '17 at 10:50













                      This is for the local user deluge to connect to a running daemon so uses the localhost password that is autogenerated. For reference the auth file is in ~/.config by default, see the Deluge wiki pages for details. Ask in Deluge forums if you have further questions.

                      – Cas
                      Feb 24 '17 at 11:19







                      This is for the local user deluge to connect to a running daemon so uses the localhost password that is autogenerated. For reference the auth file is in ~/.config by default, see the Deluge wiki pages for details. Ask in Deluge forums if you have further questions.

                      – Cas
                      Feb 24 '17 at 11:19













                      0














                      Assuming that your actual user name is "pi" (or change it with the correct one), try this:



                      sudo nano /etc/rc.local


                      then, at the end of the file, between "fi" and "exit 0" add the following lines:



                      # Start Deluge on boot:


                      sudo -u pi /usr/bin/python /usr/bin/deluged


                      # Start Deluge-Web on boot:


                      sudo -u pi /usr/bin/python /usr/bin/deluge-web


                      Just copy and paste all but if you don't use the web interface cut off the last two lines above here;
                      after this, do: ctrl-x , reply "y" , push "return button" and then type "sudo reboot".
                      Everithing should be fixed after restart.






                      share|improve this answer






























                        0














                        Assuming that your actual user name is "pi" (or change it with the correct one), try this:



                        sudo nano /etc/rc.local


                        then, at the end of the file, between "fi" and "exit 0" add the following lines:



                        # Start Deluge on boot:


                        sudo -u pi /usr/bin/python /usr/bin/deluged


                        # Start Deluge-Web on boot:


                        sudo -u pi /usr/bin/python /usr/bin/deluge-web


                        Just copy and paste all but if you don't use the web interface cut off the last two lines above here;
                        after this, do: ctrl-x , reply "y" , push "return button" and then type "sudo reboot".
                        Everithing should be fixed after restart.






                        share|improve this answer




























                          0












                          0








                          0







                          Assuming that your actual user name is "pi" (or change it with the correct one), try this:



                          sudo nano /etc/rc.local


                          then, at the end of the file, between "fi" and "exit 0" add the following lines:



                          # Start Deluge on boot:


                          sudo -u pi /usr/bin/python /usr/bin/deluged


                          # Start Deluge-Web on boot:


                          sudo -u pi /usr/bin/python /usr/bin/deluge-web


                          Just copy and paste all but if you don't use the web interface cut off the last two lines above here;
                          after this, do: ctrl-x , reply "y" , push "return button" and then type "sudo reboot".
                          Everithing should be fixed after restart.






                          share|improve this answer















                          Assuming that your actual user name is "pi" (or change it with the correct one), try this:



                          sudo nano /etc/rc.local


                          then, at the end of the file, between "fi" and "exit 0" add the following lines:



                          # Start Deluge on boot:


                          sudo -u pi /usr/bin/python /usr/bin/deluged


                          # Start Deluge-Web on boot:


                          sudo -u pi /usr/bin/python /usr/bin/deluge-web


                          Just copy and paste all but if you don't use the web interface cut off the last two lines above here;
                          after this, do: ctrl-x , reply "y" , push "return button" and then type "sudo reboot".
                          Everithing should be fixed after restart.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Jan 6 at 13:47

























                          answered Jan 6 at 13:27









                          MaxMax

                          413




                          413






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f315459%2fdeluge-daemon-connection%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Quarter-circle Tiles

                              build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

                              Mont Emei