Unable remote debug my plugin installed in Elasticsearch in remote VM

I unable remote debug my plugin installed in Elasticsearch in remote VM
in eclipse I am getting following error message in popup

image

I have added following line in jvm.options file.

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005

But still I am unable to get connect the elastic search from my eclipse.
But I am able to connect my localhost elasticsearch with same debug configuration.
Please find my remote debug configuration in eclipse below.


Also elastic search console part is here to show the server is listening to the same port
ava HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Listening for transport dt_socket at address: 5005
[2020-10-17T13:16:02,977][DEBUG][o.e.b.JNAKernel32Library ] [10.125.247.5] windows/Kernel32 library loaded

Shall I do anything extra here only for hosted vm?
I have already installed plugin in elasticsearch which I am trying to debug

Make sure that port 5005 is firewall allowed on your 10.125.247.5 VM

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.