Could not establish debug connection to localhost from Eclipse using AEM tools
I have started my instance using the following command line
java -Xms1024m -Xmx2024m -XX:MaxPermSize=256M -jar cq-author-4502.jar -debug 30303 -nofork -gui
If I select "connect to server in runmode " Ithe localhost server in the AEM perspective shows [Synchronized] next to it.
However from the AEM perspective when I try "connect to server in debug mode" I get
Could not establish debug connection to localhost : 30303
Failed to connect to remote VM. Connection refused.
Connection refused
My server connection is set as
Port: 4052
Debug Port: 30303
contect path: /
Username: admin
password: admin
servername: localhost
host name: localhost
runtime environment: Adobe Experience Manager
configuration path: /Servers/localhost-congig
Install: option "install bundles directly from the filesystem" selected
Publishing: option "never publish automatically" selected.
Regards
Clive Stewart