Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-2158 Fix IT cases in cluster mode
  3. IOTDB-2530

Server port conflict with local connection when starting nodes in cluster IT

    XMLWordPrintableJSON

Details

    Description

      In CluserEnvBase, the server ports are scanned in the range of 6671-6680, 20001-20010 and 40001-40010. However, in Linux the default net.ipv4.local_port_range is 32768-65535. So it has a high probability that the client port(the client means the one in internal connection between nodes) may occupy 40001-40010 first, and the server will fail to bind the same port when starting.

      The solution is just to decrease the port range to about 10000.

      Attachments

        Issue Links

          Activity

            People

              ericpai Eric Pai
              ericpai Eric Pai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: