Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: how to change port in which are exposed Headless API
Dear all,
by default the port used by headless api is the same of the portal navigation (8080).
Is it possible to change only the port of Headless Api, included the servlet with the relative documentation (/o/api) ?
Thank you.
Best wishes,
Alex
I'm blanking on a usecase for that, but my recommendation is to run behind a reverse proxy - there you can do such stuff with the least impact. As tomcat handles the "exposure" side - e.g. listening to port 8080 - I can't think of any other non-invasive way.
And I don't see why I'd try this - but that's up to you.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™