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

I am facing issue on public instant

Avatar

Level 2

 

Hi Team

 

 

I am facing issue on  public instant .I try run port 4503 while getting port 8080.can you pls help me on this issue. Please check below picture.

chandrika123_1-1661870134932.png

 

 

Regards

Chandrika Sunkara

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @chandrika123 ,

 

1. Delete the crx-quickstart folder.

2. Rename File as aem-publish-p4503.jar

3. Make sure 4503 port is not being used by any other application.

4. Double click on the JAR. It should start the application on 4503 port.

 

If the issue persists

In crx-quickstart go to -> bin -> start.bat .Edit the file in Notepad.

Check the CQ_PORT value here and change it if required. 

 

Mostly the issue is occurring because the Port is already being used.

To check what application is using the Port hit the below command in CMD 

 

netstat -ano | find "4503"

 

Thanks

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @chandrika123 ,

 

1. Delete the crx-quickstart folder.

2. Rename File as aem-publish-p4503.jar

3. Make sure 4503 port is not being used by any other application.

4. Double click on the JAR. It should start the application on 4503 port.

 

If the issue persists

In crx-quickstart go to -> bin -> start.bat .Edit the file in Notepad.

Check the CQ_PORT value here and change it if required. 

 

Mostly the issue is occurring because the Port is already being used.

To check what application is using the Port hit the below command in CMD 

 

netstat -ano | find "4503"

 

Thanks

Avatar

Level 2

Hi Team

 

I have done what have you suggested things but still facing same issue .i have changed port also pls look below pictures. Pls help me on this.

 

chandrika123_0-1662019633687.png

chandrika123_2-1662019878475.png

 

Regards

Chandrika sunkara

 

 

 

Avatar

Community Advisor

@chandrika123 First thing, your name of JAR is wrong. It is not public ; it should be publish. This happens when you are running the quickstart and the port is already occupied. So if I go by the image , you are trying to run a jar for 4503 port. But that port might be engaged and hence it is taking any available port and running the same. If you use CMD commands to run your jar , this can be avoided most of the times. Also as mentioned in the above reply , you can find the port using netstat commands and kill it. 

 

Follow this documentation

https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/local-development-env...

Also you can find below CMD command from the above documentation

 

  • Start the local AEM Author Service by executing the following from the command line:
  • java -jar aem-author-p4502.jar
  • Start the local AEM Publish Service by executing the following from the command line:
  • java -jar aem-publish-p4503.ja