How can I find out information about a service?












1















$ nmap -p0-65535 192.168.0.142

Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-10 17:53 EDT
Nmap scan report for ocean (192.168.0.142)
Host is up (0.000031s latency).
Not shown: 65531 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
111/tcp open rpcbind
3306/tcp open mysql
33060/tcp open mysqlx

Nmap done: 1 IP address (1 host up) scanned in 11.06 seconds


What is service mysqlx?



Why is it not mapped in /etc/services?



$ cat /etc/services  |  grep mysql
mysql 3306/tcp
mysql 3306/udp
mysql-proxy 6446/tcp # MySQL Proxy
mysql-proxy 6446/udp


Why is it not part of the command for the process?



$ ps -A | grep mysqlx


Is it possible that nmap can report misleading information? Do you find out the services running on the local machine not by nmap?



Thanks.










share|improve this question





























    1















    $ nmap -p0-65535 192.168.0.142

    Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-10 17:53 EDT
    Nmap scan report for ocean (192.168.0.142)
    Host is up (0.000031s latency).
    Not shown: 65531 closed ports
    PORT STATE SERVICE
    22/tcp open ssh
    80/tcp open http
    111/tcp open rpcbind
    3306/tcp open mysql
    33060/tcp open mysqlx

    Nmap done: 1 IP address (1 host up) scanned in 11.06 seconds


    What is service mysqlx?



    Why is it not mapped in /etc/services?



    $ cat /etc/services  |  grep mysql
    mysql 3306/tcp
    mysql 3306/udp
    mysql-proxy 6446/tcp # MySQL Proxy
    mysql-proxy 6446/udp


    Why is it not part of the command for the process?



    $ ps -A | grep mysqlx


    Is it possible that nmap can report misleading information? Do you find out the services running on the local machine not by nmap?



    Thanks.










    share|improve this question



























      1












      1








      1








      $ nmap -p0-65535 192.168.0.142

      Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-10 17:53 EDT
      Nmap scan report for ocean (192.168.0.142)
      Host is up (0.000031s latency).
      Not shown: 65531 closed ports
      PORT STATE SERVICE
      22/tcp open ssh
      80/tcp open http
      111/tcp open rpcbind
      3306/tcp open mysql
      33060/tcp open mysqlx

      Nmap done: 1 IP address (1 host up) scanned in 11.06 seconds


      What is service mysqlx?



      Why is it not mapped in /etc/services?



      $ cat /etc/services  |  grep mysql
      mysql 3306/tcp
      mysql 3306/udp
      mysql-proxy 6446/tcp # MySQL Proxy
      mysql-proxy 6446/udp


      Why is it not part of the command for the process?



      $ ps -A | grep mysqlx


      Is it possible that nmap can report misleading information? Do you find out the services running on the local machine not by nmap?



      Thanks.










      share|improve this question
















      $ nmap -p0-65535 192.168.0.142

      Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-10 17:53 EDT
      Nmap scan report for ocean (192.168.0.142)
      Host is up (0.000031s latency).
      Not shown: 65531 closed ports
      PORT STATE SERVICE
      22/tcp open ssh
      80/tcp open http
      111/tcp open rpcbind
      3306/tcp open mysql
      33060/tcp open mysqlx

      Nmap done: 1 IP address (1 host up) scanned in 11.06 seconds


      What is service mysqlx?



      Why is it not mapped in /etc/services?



      $ cat /etc/services  |  grep mysql
      mysql 3306/tcp
      mysql 3306/udp
      mysql-proxy 6446/tcp # MySQL Proxy
      mysql-proxy 6446/udp


      Why is it not part of the command for the process?



      $ ps -A | grep mysqlx


      Is it possible that nmap can report misleading information? Do you find out the services running on the local machine not by nmap?



      Thanks.







      mysql services nmap






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 5 hours ago







      Tim

















      asked 5 hours ago









      TimTim

      27.6k78264477




      27.6k78264477






















          1 Answer
          1






          active

          oldest

          votes


















          3














          The mysqlx service on port 33060 is the MySQL X DevAPI service.



          nmap does not use /etc/services, it uses its own database of services.



          Note that anything listening on port 33060 will be reported as the mysqlx service, and that the name of a service does not necessarily have to be part of the name of the command providing the service (both exim and postfix may provide an smtp service, for example).



          To see what's listening on port 33060 on the local machine, you may use, on a Linux system,



          sudo lsof -i :33060


          or



          sudo fuser -v 33060/tcp





          share|improve this answer


























          • Thanks. does fuser 33060/tcp works the same as sudo lsof -i :33060?

            – Tim
            4 hours ago













          • @Tim Not quite, I think you would need sudo fuser -v 33060/tcp to get any interesting information.

            – Kusalananda
            4 hours ago













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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%2funix.stackexchange.com%2fquestions%2f505538%2fhow-can-i-find-out-information-about-a-service%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          The mysqlx service on port 33060 is the MySQL X DevAPI service.



          nmap does not use /etc/services, it uses its own database of services.



          Note that anything listening on port 33060 will be reported as the mysqlx service, and that the name of a service does not necessarily have to be part of the name of the command providing the service (both exim and postfix may provide an smtp service, for example).



          To see what's listening on port 33060 on the local machine, you may use, on a Linux system,



          sudo lsof -i :33060


          or



          sudo fuser -v 33060/tcp





          share|improve this answer


























          • Thanks. does fuser 33060/tcp works the same as sudo lsof -i :33060?

            – Tim
            4 hours ago













          • @Tim Not quite, I think you would need sudo fuser -v 33060/tcp to get any interesting information.

            – Kusalananda
            4 hours ago


















          3














          The mysqlx service on port 33060 is the MySQL X DevAPI service.



          nmap does not use /etc/services, it uses its own database of services.



          Note that anything listening on port 33060 will be reported as the mysqlx service, and that the name of a service does not necessarily have to be part of the name of the command providing the service (both exim and postfix may provide an smtp service, for example).



          To see what's listening on port 33060 on the local machine, you may use, on a Linux system,



          sudo lsof -i :33060


          or



          sudo fuser -v 33060/tcp





          share|improve this answer


























          • Thanks. does fuser 33060/tcp works the same as sudo lsof -i :33060?

            – Tim
            4 hours ago













          • @Tim Not quite, I think you would need sudo fuser -v 33060/tcp to get any interesting information.

            – Kusalananda
            4 hours ago
















          3












          3








          3







          The mysqlx service on port 33060 is the MySQL X DevAPI service.



          nmap does not use /etc/services, it uses its own database of services.



          Note that anything listening on port 33060 will be reported as the mysqlx service, and that the name of a service does not necessarily have to be part of the name of the command providing the service (both exim and postfix may provide an smtp service, for example).



          To see what's listening on port 33060 on the local machine, you may use, on a Linux system,



          sudo lsof -i :33060


          or



          sudo fuser -v 33060/tcp





          share|improve this answer















          The mysqlx service on port 33060 is the MySQL X DevAPI service.



          nmap does not use /etc/services, it uses its own database of services.



          Note that anything listening on port 33060 will be reported as the mysqlx service, and that the name of a service does not necessarily have to be part of the name of the command providing the service (both exim and postfix may provide an smtp service, for example).



          To see what's listening on port 33060 on the local machine, you may use, on a Linux system,



          sudo lsof -i :33060


          or



          sudo fuser -v 33060/tcp






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 4 hours ago

























          answered 4 hours ago









          KusalanandaKusalananda

          135k17255418




          135k17255418













          • Thanks. does fuser 33060/tcp works the same as sudo lsof -i :33060?

            – Tim
            4 hours ago













          • @Tim Not quite, I think you would need sudo fuser -v 33060/tcp to get any interesting information.

            – Kusalananda
            4 hours ago





















          • Thanks. does fuser 33060/tcp works the same as sudo lsof -i :33060?

            – Tim
            4 hours ago













          • @Tim Not quite, I think you would need sudo fuser -v 33060/tcp to get any interesting information.

            – Kusalananda
            4 hours ago



















          Thanks. does fuser 33060/tcp works the same as sudo lsof -i :33060?

          – Tim
          4 hours ago







          Thanks. does fuser 33060/tcp works the same as sudo lsof -i :33060?

          – Tim
          4 hours ago















          @Tim Not quite, I think you would need sudo fuser -v 33060/tcp to get any interesting information.

          – Kusalananda
          4 hours ago







          @Tim Not quite, I think you would need sudo fuser -v 33060/tcp to get any interesting information.

          – Kusalananda
          4 hours ago




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux 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%2funix.stackexchange.com%2fquestions%2f505538%2fhow-can-i-find-out-information-about-a-service%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

          CARDNET

          Boot-repair Failure: Unable to locate package grub-common:i386

          濃尾地震