Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3756

Support check-port-availability script for mac os x

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v3.0.0
    • Tools, Build and Test
    • None

    Description

      bin/check-port-availability.sh internally uses "netstat -tlpn" to detect network ports. Running this script under mac os x will report the following exception:

      netstat: n: unknown or uninstrumented protocol

      The "netstat" command under mac os x does not support the "n,p" option. We can achieve the same function under mac with the "lsof" command. More details: https://stackoverflow.com/questions/4421633/who-is-listening-on-a-given-tcp-port-on-mac-os-x

      Attachments

        Issue Links

          Activity

            People

              yanghua vinoyang
              yanghua vinoyang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: