Skip to main content
Feb 15, 2022 4:57 PM UTC
Solved

Connection with lcoalhost refused AEM6.5

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
Community Advisor
Feb 16, 2022 3:13 AM UTC

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!

2 replies

Kiran_Vedantam
Community Advisor
Community Advisor
Feb 15, 2022 7:49 PM UTC

Hi @rajanin89039659 

 

Can u check if your local instance is up?

 

Thanks,

Kiran Vedantam.

Translate
Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
Feb 16, 2022 3:13 AM UTC

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!

Translate