SonarQube 6.7.5 startup failure: Failed to connect to the Wrapper at port 0

Hi Ann/Nicolas,

Find out that the Drive Y from where I was trying to start the sonarQube is DFS Share area and not my local machine drive. Probably that’s why It was not able to grab any port on my local machine (Not sure if it’s supposed to be or not, I’ll check with my network management team later).

Similar things I had noticed that when my Codes/Libraries are in some network drive, sonar-scanner unable to read them even though I can reach them via explorer or command-prompt. I used to getjava.lang.IllegalStateException: Unable to load component class error.

I’ve copied the sonarQube folder & codes to my local D drive and able to start the server and run the scanner.

Thanks for your time & help.

1 Like