Expand my Community achievements bar.

SOLVED

AEM quickstart jar file is not running

Avatar

Level 3

Hi Team,
While i am trying to open aem jar file ,its throwing "did not find an available server port tried 4502"
please refer below error attached screenshot and help me out

Note: as per guidance i have to use 4502 port only
 

rajnishkr93_0-1642085715687.png

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

You can rename the jar something like "aem-sdk-quickstart-14502.jar" and start ther server, it will start your server on 14502 server.

View solution in original post

3 Replies

Avatar

Level 5

Hello,

Try checking if you are already running any AEM instance on same port, if not, killing Java process completely and then start your AEM helps most of the time.

Thanks

Avatar

Level 6

Some task must be running on that port. Kill that task to free the port and try starting the jar. Follow the below steps to kill the task:

  1. Open up cmd.exe (note: you may need to run it as an administrator, but this isn't always necessary), then run the below command: netstat -ano | findstr :<PORT> (Replace <PORT> with the port number you want, but keep the colon)
  2. Next, run the following command: taskkill /PID <PID> /F. (No colon this time)

Avatar

Correct answer by
Level 4

You can rename the jar something like "aem-sdk-quickstart-14502.jar" and start ther server, it will start your server on 14502 server.