michael-o commented on pull request #469: URL: https://github.com/apache/maven/pull/469#issuecomment-830822294
On a IPv4 only host: ``` osipovmi@deblndw011x:~ $ for version in 8 11 15; do > /usr/local/openjdk$version/bin/java -version > while read -r address; do > echo "Running Java $version with '$address'"; JAVA_VERSION=$version MAVEN_DEBUG_ADDRESS="$address" timeout 2 ~/apache-maven-4.0.0-alpha-1-SNAPSHOT-1/bin/mvnDebug > done < input > done openjdk version "1.8.0_282" OpenJDK Runtime Environment (build 1.8.0_282-b08) OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode) Running Java 8 with 'localhost' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 60800 Running Java 8 with 'localhost:0' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 60814 Running Java 8 with 'localhost:8888' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 8888 Running Java 8 with 'deblndw011x' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 60832 Running Java 8 with 'deblndw011x:0' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 60839 Running Java 8 with 'deblndw011x:8888' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 8888 Running Java 8 with '*' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 60850 Running Java 8 with '*:0' Preparing to execute Maven in debug mode ERROR: transport error 202: gethostbyname: unknown host ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750] Running Java 8 with '*:8888' Preparing to execute Maven in debug mode ERROR: transport error 202: gethostbyname: unknown host ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750] Running Java 8 with '0.0.0.0' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 60858 Running Java 8 with '0.0.0.0:0' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 60865 Running Java 8 with '0.0.0.0:8888' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 8888 Running Java 8 with '[::]' Preparing to execute Maven in debug mode ERROR: transport error 202: gethostbyname: unknown host ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750] Running Java 8 with '[::]:0' Preparing to execute Maven in debug mode ERROR: transport error 202: gethostbyname: unknown host ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750] Running Java 8 with '[::]:8888' Preparing to execute Maven in debug mode ERROR: transport error 202: gethostbyname: unknown host ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750] openjdk version "11.0.10" 2021-01-19 OpenJDK Runtime Environment (build 11.0.10+9-1) OpenJDK 64-Bit Server VM (build 11.0.10+9-1, mixed mode) Running Java 11 with 'localhost' Preparing to execute Maven in debug mode ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735] Running Java 11 with 'localhost:0' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 60886 Running Java 11 with 'localhost:8888' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 8888 Running Java 11 with 'deblndw011x' Preparing to execute Maven in debug mode ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735] Running Java 11 with 'deblndw011x:0' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 60901 Running Java 11 with 'deblndw011x:8888' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 8888 Running Java 11 with '*' Preparing to execute Maven in debug mode ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735] Running Java 11 with '*:0' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 60932 Running Java 11 with '*:8888' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 8888 Running Java 11 with '0.0.0.0' Preparing to execute Maven in debug mode ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735] Running Java 11 with '0.0.0.0:0' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 60946 Running Java 11 with '0.0.0.0:8888' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 8888 Running Java 11 with '[::]' Preparing to execute Maven in debug mode ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735] Running Java 11 with '[::]:0' Preparing to execute Maven in debug mode ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735] Running Java 11 with '[::]:8888' Preparing to execute Maven in debug mode ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735] openjdk version "15.0.2" 2021-01-19 OpenJDK Runtime Environment (build 15.0.2+7-1) OpenJDK 64-Bit Server VM (build 15.0.2+7-1, mixed mode, sharing) Running Java 15 with 'localhost' Preparing to execute Maven in debug mode ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734] Running Java 15 with 'localhost:0' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 60985 Running Java 15 with 'localhost:8888' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 8888 Running Java 15 with 'deblndw011x' Preparing to execute Maven in debug mode ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734] Running Java 15 with 'deblndw011x:0' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 61014 Running Java 15 with 'deblndw011x:8888' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 8888 Running Java 15 with '*' Preparing to execute Maven in debug mode ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734] Running Java 15 with '*:0' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 61040 Running Java 15 with '*:8888' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 8888 Running Java 15 with '0.0.0.0' Preparing to execute Maven in debug mode ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734] Running Java 15 with '0.0.0.0:0' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 61067 Running Java 15 with '0.0.0.0:8888' Preparing to execute Maven in debug mode Listening for transport dt_socket at address: 8888 Running Java 15 with '[::]' Preparing to execute Maven in debug mode ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734] Running Java 15 with '[::]:0' Preparing to execute Maven in debug mode ERROR: transport error 202: getaddrinfo: failed to parse address ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734] Running Java 15 with '[::]:8888' Preparing to execute Maven in debug mode ERROR: transport error 202: getaddrinfo: failed to parse address ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734] ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
