I have a sonarqube 5.1.2 server that is working OK when bound to the primary IP address on my Windows server.
However, I want to bind sonarqube to an alternate IP address on a Windows server and get a problem (or all IP addresses on the server)
In the sonar.properties I have set the alternate address
sonar.web.host=10.10.9.51
This fails with the error
2015.08.18 15:13:06 ERROR web[o.a.c.h.Http11NioProtocol] Failed to initialize end point associated with ProtocolHandler ["http-nio-10.10.9.51-9000"] java.net.BindException: Cannot assign requested address: bind
- If I set the value to my primary IP address the server works.
- If I don't set the value, or use 0.0.0.0, the primary IP address works but the alternate does not.
I assume I am missing some other configuration file that allow binding to any secondary IP addresses on my server.
Any ideas where it might be set?
A clarification
- 10.10.1.93 is the PCs default IP address. Sonarqube binds to this OK if use the sonar.web.host=10.10.1.93 or sonar.web.host=0.0.0.0 or just don't set sonar.web.host.
- 10.10.9.51 is an secondary IP address on the server, which is bound OK and I can ping it. However if I set sonar.web.host=10.10.9.51 I get the error shown above