Start Free
SonarQube Community Build | Server installation and setup | Network security | Network rules

Configuring network rules

On this page

To lock down the communication in between the reverse proxy and SonarQube, you can define the following network rules:

ProtocolSourceDestinationPortDefault
TCPReverse ProxySonarQubesonar.web.port9000
TCPSonarQubeSonarQubesonar.search.port9001
TCPSonarQubeSonarQubesonar.es.portrandom

You can further segment your network configuration if you specify a frontend network and keep Elasticsearch restricted to the loopback NiC.

NetworkParameterDescriptionDefault
Frontendsonar.web.hostFrontend HTTP Network0.0.0.0
Elasticsearchsonar.search.hostElasticsearch Network127.0.0.1

For information about the parameters, see the list of system properties.


Was this page helpful?

© 2008-2025 SonarSource SA. All rights reserved.

Creative Commons License