Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9082

H2 must bind only to the localhost interface

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.3, 6.0
    • Fix Version/s: 6.4
    • Component/s: None
    • Labels:

      Description

      This occurs with SonarQube 5.6.2, 5.6.3 and 6.0.

      When starting SonarQube out of the box, the sockets opened by the SonarQube processes look like this:

      tcp 0 0 127.0.0.1:32000 0.0.0.0:* LISTEN 25255/java app wrapper ping
      tcp6 0 0 :::57236 :::* LISTEN 25498/java ce wrapper ping
      tcp6 0 0 127.0.0.1:34880 :::* LISTEN 25498/java ce local http server
      tcp6 0 0 :::34115 :::* LISTEN 25281/java es wrapper ping
      tcp6 0 0 127.0.0.1:9001 :::* LISTEN 25281/java es elastic
      tcp6 0 0 :::9000 :::* LISTEN 25380/java web http server
      tcp6 0 0 :::9092 :::* LISTEN 25380/java web H2 database
      tcp6 0 0 :::53050 :::* LISTEN 25380/java web wrapper ping

      This ticket is about binding H2 database to the localhost interface but not to any interface.

        Attachments

          Activity

            People

            • Assignee:
              simon.brandhof Simon Brandhof
              Reporter:
              sebastien.lesaint Sebastien Lesaint
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: