The first time when I tried to run SonarQube with root user this fails. Searching in internet I find that the new Sonar should be execute by a non-root user. I created the user sonar with the folow command useradd -m -s /bin/bash sonar
and I executed chmod -R 777 sonaqube-7.0
. Then I loggin with sonar user: sudo su sonar
. When I execute ./sonar.sh console
all works fine. But when I change the port by default 9000 to port 80, this fails. Using the command netstat -plunt
I check if the port 80 is in use, but the only ports that I use is 22 (sshd), 5432 (postgres) and 25 (exim4).I thinks that this happed because the user sonar has not permission to use the port 80. How cant I use the port 80 with SonarQube?
My current Operating system is debian 9