Search code examples
ipsonarqubesonarqube-opssonarqube-5.4

SonarQube web server with IP dynamic


How I can configure the sonar.web.host with a dynamic IP? Would I need to change the properties file every time the IP changes?

# Binding IP address. For servers with more than one IP address, this property specifies which
# address will be used for listening on the specified ports.
# By default, ports will be used on all IP addresses associated with the server.
sonar.web.host=xxx.xx.xx.xx

Solution

  • Leave sonar.web.host commented-out and SonarQube will listen on all NICs, irrespective of their IP address.