Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Connection with lcoalhost refused AEM6.5

Avatar

Level 1

Does anyone faced issue like below when accessing AEM with maven devops provision? If you know how to fix, please share the details.

Failed to execute goal devops:devops-maven-plugin:1.0.13:provision (default-cli) on project aem-stack-repo: Execution default-cli of goal devops:devops-maven-plugin:1.0.13:provision failed: Exception while connecting to local JVM with pid *** via JMX: Connection refused to host: *..*.*.* ; nested exception is:
[ERROR] java.net.ConnectException: Connection timed out

Java - jdk 11

Maven 3.8

AEM6.5

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @rajanin89039659 

 

Connection refused error comes only when your instance is not reachable with the IP and PORT that you have configured. So please check if the instance is accessible with same HOST and PORT.

 

Thanks!

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @rajanin89039659 

 

Can u check if your local instance is up?

 

Thanks,

Kiran Vedantam.

Avatar

Correct answer by
Community Advisor

Hi @rajanin89039659 

 

Connection refused error comes only when your instance is not reachable with the IP and PORT that you have configured. So please check if the instance is accessible with same HOST and PORT.

 

Thanks!