Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-DdebugHost=127.0.1.3 wrong test for debug port already in use #21288

Closed
tttomat19 opened this issue Nov 8, 2021 · 0 comments · Fixed by #21299
Closed

-DdebugHost=127.0.1.3 wrong test for debug port already in use #21288

tttomat19 opened this issue Nov 8, 2021 · 0 comments · Fixed by #21299
Labels
area/devmode kind/bug Something isn't working
Milestone

Comments

@tttomat19
Copy link
Contributor

tttomat19 commented Nov 8, 2021

Describe the bug

Given 2 apps in devmode, run subsequently, trying to run them on different loopback addresses:

Case 1:
./mvnw quarkus:dev
ok
./mvnw quarkus:dev -DdebugHost=127.0.1.3
Error, port 5005 already in use, not running in debug mode. A little unexpected

Case 2:
./mvnw quarkus:dev -DdebugHost=127.0.1.2
ok
./mvnw quarkus:dev -DdebugHost=127.0.1.3
ok

Case 3:
./mvnw quarkus:dev -DdebugHost=127.0.0.1
ok
./mvnw quarkus:dev -DdebugHost=127.0.1.3
Error, port 5005 already in use, not running in debug mode. Unexpected

Expected behavior

Case 3 probably should work ok.

Actual behavior

It seems that quarkus tests on whether the debug port is open via trying 127.0.0.1:5005 , even though debugHost is not 127.0.0.1 for the current application instance.

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

openjdk 17, openjdk 11

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.4.0.Final

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@tttomat19 tttomat19 added the kind/bug Something isn't working label Nov 8, 2021
geoand added a commit to geoand/quarkus that referenced this issue Nov 9, 2021
geoand added a commit to geoand/quarkus that referenced this issue Nov 9, 2021
@quarkus-bot quarkus-bot bot added this to the 2.5 - main milestone Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devmode kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants