Sonar can be accessed locally but not accessed els

2019-06-09 04:36发布

问题:

Just tried to install a standalone sonar 2.0.5 in Win XP.

Setting : 

IP   : 127.0.0.1
Port : 9000
WebContext : /

It can be accessed locally. However when I tried to access it from other computer, it cant be accessed. So I tried to change the setting to Port 8080 ( my tomcat port ) and shutdown my tomcat. Still not accessible. My Tomcat ( port 8080, if running ) is accessible via network. Windows firewall is off.

Any idea why this happens?

回答1:

You've configured Sonar to bind to the local loopback address. Try changing the IP address to "0.0.0.0".

See the following for more details:

  • Difference between 0.0.0.0 and 127.0.0.1


标签: sonarqube