Skip to content

debug port only listens on loopback #144

Description

@mkubaty

Hello there,
we recently used the java version
java version "11.0.6" 2020-01-14 LTS
for evaluation purposes. It turned out, this particular version does not bind the specified debug port for AEM to 0.0.0.0:$port but to 127.0.0.1:$port until you explicitely define it by setting interface and port . Please see
https://stackoverflow.com/questions/138511/what-are-java-command-line-options-to-set-to-allow-jvm-to-be-remotely-debugged
and
https://www.oracle.com/technetwork/java/javase/9-notes-3745703.html#JDK-8041435

Unfortunately the type-checker in instance.pp, line 36
validate_integer($debug_port)
does not allow to set IP and port.

We are about to fix that internally, and think it may bee of interest for you too.
Our fix will be provided to you, after we merged into our fork.

Kind regards

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions