SonarLint service blocking debugger port

Please provide

  • Operating system: Windows 10 Pro 22H2 19045.4529
  • SonarLint plugin version: 10.6.2.78685
  • Programming language you’re coding in: Java 17
  • Is connected mode used:
    • Connected to SonarCloud or SonarQube (and which version):
      Connected to SonarQube Community Edition Version 9.9.1 (build 69595)

And a thorough description of the problem / question:
Try to start a Tomcat application server in debug mode via IntelliJ Run configuration.
Failes frequently with error “cannot connect to debugger port 1099”.
SonarLint service seems to block that port. If I kill this, everything runs smoothly.

Hi @macwirbel,

there shouldn’t be anything from SonarLint running on that port as it is also a reserved one for RMI.

Please check, when running, what is currently going on on that port. Either via the command line and the netstat command or via PowerShell and the following commands:

  • TCP: Get-Process -Id (Get-NetTCPConnection -LocalPort 1099).OwningProcess
  • UDP: Get-Process -Id (Get-NetUDPEndpoint -LocalPort 1099).OwningProcess

Best,
Tobias