MongoDB, Getting Started and Connecting with Compass












0















I'm trying to connect to my mongoDB running as a service on my rPi3B+, using openSuse Tumbleweed 64bit, mongo version 3.6.2, from my laptop sharing the same LAN/Wifi (pi on LAN & laptop on Wifi).



I completed this install guide(https://www.osradar.com/install-mongodb-opensuse-15/) directly after a fresh install of the rPi3 JeOS image provided here: https://en.opensuse.org/HCL:Raspberry_Pi3



Now when I tried to connect to the db service using compass using the same IP I used to connect to the Pi over ssh, and the standard port of 27017. It then reports "MongoDB not running on the provided host and port".



However, I have the shell running on the Pi at the same time, and when I exit the shell so that compass is the only client attempting a connection. When I run sudo systemctl status mongodb the service is active.



When I run netstat -lntu I get the following output:



Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 ::1:27017 :::* LISTEN
udp 0 0 192.168.1.163:123 0.0.0.0:*
udp 0 0 127.0.0.1:123 0.0.0.0:*
udp 0 0 0.0.0.0:123 0.0.0.0:*
udp 0 0 0.0.0.0:68 0.0.0.0:*
udp6 0 0 fe80::ba27:ebff:feb:123 :::*
udp6 0 0 ::1:123 :::*
udp6 0 0 :::123 :::*


When I ping the Pi's IP address using the local IP I get the expected returns showing that it is reachable.



Are there some settings I need to change from within the shell to make it reachable by Compass?









share



























    0















    I'm trying to connect to my mongoDB running as a service on my rPi3B+, using openSuse Tumbleweed 64bit, mongo version 3.6.2, from my laptop sharing the same LAN/Wifi (pi on LAN & laptop on Wifi).



    I completed this install guide(https://www.osradar.com/install-mongodb-opensuse-15/) directly after a fresh install of the rPi3 JeOS image provided here: https://en.opensuse.org/HCL:Raspberry_Pi3



    Now when I tried to connect to the db service using compass using the same IP I used to connect to the Pi over ssh, and the standard port of 27017. It then reports "MongoDB not running on the provided host and port".



    However, I have the shell running on the Pi at the same time, and when I exit the shell so that compass is the only client attempting a connection. When I run sudo systemctl status mongodb the service is active.



    When I run netstat -lntu I get the following output:



    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN
    tcp6 0 0 :::22 :::* LISTEN
    tcp6 0 0 ::1:27017 :::* LISTEN
    udp 0 0 192.168.1.163:123 0.0.0.0:*
    udp 0 0 127.0.0.1:123 0.0.0.0:*
    udp 0 0 0.0.0.0:123 0.0.0.0:*
    udp 0 0 0.0.0.0:68 0.0.0.0:*
    udp6 0 0 fe80::ba27:ebff:feb:123 :::*
    udp6 0 0 ::1:123 :::*
    udp6 0 0 :::123 :::*


    When I ping the Pi's IP address using the local IP I get the expected returns showing that it is reachable.



    Are there some settings I need to change from within the shell to make it reachable by Compass?









    share

























      0












      0








      0








      I'm trying to connect to my mongoDB running as a service on my rPi3B+, using openSuse Tumbleweed 64bit, mongo version 3.6.2, from my laptop sharing the same LAN/Wifi (pi on LAN & laptop on Wifi).



      I completed this install guide(https://www.osradar.com/install-mongodb-opensuse-15/) directly after a fresh install of the rPi3 JeOS image provided here: https://en.opensuse.org/HCL:Raspberry_Pi3



      Now when I tried to connect to the db service using compass using the same IP I used to connect to the Pi over ssh, and the standard port of 27017. It then reports "MongoDB not running on the provided host and port".



      However, I have the shell running on the Pi at the same time, and when I exit the shell so that compass is the only client attempting a connection. When I run sudo systemctl status mongodb the service is active.



      When I run netstat -lntu I get the following output:



      Active Internet connections (only servers)
      Proto Recv-Q Send-Q Local Address Foreign Address State
      tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
      tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN
      tcp6 0 0 :::22 :::* LISTEN
      tcp6 0 0 ::1:27017 :::* LISTEN
      udp 0 0 192.168.1.163:123 0.0.0.0:*
      udp 0 0 127.0.0.1:123 0.0.0.0:*
      udp 0 0 0.0.0.0:123 0.0.0.0:*
      udp 0 0 0.0.0.0:68 0.0.0.0:*
      udp6 0 0 fe80::ba27:ebff:feb:123 :::*
      udp6 0 0 ::1:123 :::*
      udp6 0 0 :::123 :::*


      When I ping the Pi's IP address using the local IP I get the expected returns showing that it is reachable.



      Are there some settings I need to change from within the shell to make it reachable by Compass?









      share














      I'm trying to connect to my mongoDB running as a service on my rPi3B+, using openSuse Tumbleweed 64bit, mongo version 3.6.2, from my laptop sharing the same LAN/Wifi (pi on LAN & laptop on Wifi).



      I completed this install guide(https://www.osradar.com/install-mongodb-opensuse-15/) directly after a fresh install of the rPi3 JeOS image provided here: https://en.opensuse.org/HCL:Raspberry_Pi3



      Now when I tried to connect to the db service using compass using the same IP I used to connect to the Pi over ssh, and the standard port of 27017. It then reports "MongoDB not running on the provided host and port".



      However, I have the shell running on the Pi at the same time, and when I exit the shell so that compass is the only client attempting a connection. When I run sudo systemctl status mongodb the service is active.



      When I run netstat -lntu I get the following output:



      Active Internet connections (only servers)
      Proto Recv-Q Send-Q Local Address Foreign Address State
      tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
      tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN
      tcp6 0 0 :::22 :::* LISTEN
      tcp6 0 0 ::1:27017 :::* LISTEN
      udp 0 0 192.168.1.163:123 0.0.0.0:*
      udp 0 0 127.0.0.1:123 0.0.0.0:*
      udp 0 0 0.0.0.0:123 0.0.0.0:*
      udp 0 0 0.0.0.0:68 0.0.0.0:*
      udp6 0 0 fe80::ba27:ebff:feb:123 :::*
      udp6 0 0 ::1:123 :::*
      udp6 0 0 :::123 :::*


      When I ping the Pi's IP address using the local IP I get the expected returns showing that it is reachable.



      Are there some settings I need to change from within the shell to make it reachable by Compass?







      connectivity remote mongodb-3.6





      share












      share










      share



      share










      asked 6 mins ago









      EruEru

      1




      1






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "182"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2fdba.stackexchange.com%2fquestions%2f233204%2fmongodb-getting-started-and-connecting-with-compass%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Database Administrators Stack Exchange!


          • 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%2fdba.stackexchange.com%2fquestions%2f233204%2fmongodb-getting-started-and-connecting-with-compass%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

          Liste der Baudenkmale in Friedland (Mecklenburg)

          Single-Malt-Whisky

          Czorneboh