Skip to content

Binding listening socket to all address for remote debug#4345

Merged
yadvr merged 1 commit intoapache:masterfrom
slavkap:remoteDebug
Sep 29, 2020
Merged

Binding listening socket to all address for remote debug#4345
yadvr merged 1 commit intoapache:masterfrom
slavkap:remoteDebug

Conversation

@slavkap
Copy link
Contributor

@slavkap slavkap commented Sep 24, 2020

Description

Since Java 9 the notation 'address=port' only applies to localhost.
For remote debug you have to explicitly specify that you want to listen
to all IP addresses (e.g. address=*:8000)

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • [ x] Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

How Has This Been Tested?

tested on master and 4.14

Since Java 9 the notation 'address=port' only applies to localhost.
For remote debug you have to explicitly specify that you want to listen
to all IP addresses (e.g. address=*8000)
@yadvr yadvr added this to the 4.15.0.0 milestone Sep 29, 2020
@yadvr yadvr merged commit d213a4d into apache:master Sep 29, 2020
@yadvr
Copy link
Member

yadvr commented Sep 29, 2020

Explicit tests are not needed as these are changes in commented code; this is only for remote debugging used usually by developers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants