All, I had the same issue, but thanks to the conversation it led me to the solution. More than likely you have SonarQube running as a service, and because of this it has the port blocked. Do the following:
- Uninstall SonarQube service using the file: E:\SonarQube\bin\windows-x86-64\UninstallNTService.bat
- Reboot the computer
- Start the service using E:\SonarQube\bin\windows-x86-64\StartSonar.bat
The reason why we are running into this issue is because the services is most likely set to startup with windows reboot. Therefore, the port is captured in is in maintenance mode. Removing it shuts down the service and leaves the port open for you to start SonarQube
Good luck, hope this helps