Hi all,
I’m trying to expose the remote debugging port from a Sonarqube Docker container.
- The Dockerfile looks like this:
FROM sonarqube:latest
EXPOSE 8000
- In the image properties I see afterwards that the port 8000 is exposed together with 9000
- I than map the port 8000 in the container definition
- and set in
sonar.properties
:sonar.web.javaAdditionalOpts=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000
and restart - I can connect to the port 9000, but not on 8000 (tried with telnet and with my IDE)
-
netstat -tulpn | grep LISTEN
on the host shows both ports
What am I doing wrong? Please help!
Thanks.