Message Boards
how to change port in which are exposed Headless API
Alex Pasquini, modified 2 Years ago.
how to change port in which are exposed Headless API
Junior Member Posts: 38 Join Date: 3/3/20 Recent PostsDear 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
Olaf Kock, modified 2 Years ago.
RE: how to change port in which are exposed Headless API
Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent PostsI'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.