Unable to open remotely installed sonar on a browser
In your server's sonar.properties file, you'll need to set the host information in order to access the server remotely.
Specifically, you need to set the following values:
sonar.web.host: 192.168.1.1 #use your server IP here
sonar.web.port: 80 #set this if you want a different port than 9000
Also, in the web UI's Settings area, under the "General" section, set the "Server base URL" value so that links in generate emails, etc, point to the right location. This can also be set in your sonar.properties file as sonar.core.serverBaseURL
Don't forget to restart the Sonar service for the changes to take effect.
Cannot open SonarQube in web-browser
Make sure that the firewall allows the port of SonarQube to be accessible from other networks.
Run the following command to check if the SonarQube port is open or not:
sudo ufw status verbose
If your firewall is disabled this command will give you the following output:
Status: inactive
In this case enable your firewall by running sudo ufw enable
and then again run
sudo ufw status verbose
It will give you an output like the following:
If the output doesn't show SonarQube port then enable its port by using the following command:
sudo ufw allow <SONAR_PORT>/tcp
This will allow your SonarQube port to be accessible.
Sonar remote access
I might be late on this post. I am using Sonarqube Community Edition 8.8 and I was facing same issue, was able to access on localhost and not using IP. In sonar.properties I changed sonar.web.host from 0.0.0.0 to sonar.web.host = "*" and restarted sonarqube. This worked for me.
Related Topics
Bpf Verifier Rejects Code: "Invalid Bpf_Context Access"
What Are Good Linux/Unix Books for an Advancing User
Bash Scripting - How to Set the Group That New Files Will Be Created With
How to Read Websocket Response in Linux Shell
Gcc Compilation "Cannot Compute Suffix of Object Files: Cannot Compile"
How to Capture Still Image from Webcam on Linux
Does Linux Malloc() Behave Differently on Arm Vs X86
Monitoring File and Directory Access on Linux
Adding Support for Menuconfig/Kconfig in My Project
How to Open Remotely Installed Sonar on a Browser
Split Files Using Tar, Gz, Zip, or Bzip2
Why Docker Has Ability to Run Different Linux Distribution
Add Text to File at Certain Line in Linux
Bluez: Advertise Service/Gatt Server Example
How to Change Rvm Install Location