xdmp.getRequestPort() as Number?
Returns the port of the request.
xdmp.getRequestPort(); => 8000
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.