Important steps to follow:Correct JDK version is installed (i.e. JDK11 for AEM 6.5)Environment variable pointing to JDK versionAEM author and publish to run on different ports Doc: https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/set-up-a-local-aem-development-...