jExperience and context server port
Is it possible to specify a different port to use for the
context.js (different than the one specified for the context server)?
Unfortunately, it is not possible, but you can configure a frontal server to serve this file using a standard port. Check the dedicated documentation at https://academy.jahia.com/documentation/marketing-factory/1.8/technical/installation-configuration-and-fine-tuning/5-security-and-apache-configuration