MarkLogic Server 11.0 Product Documentation
xdmp.serverPort

xdmp.serverPort(
   id as (Number|String)
) as Number?

Summary

Return the port of the App Server, XDBC Server, ODBC Server, or Task Server with the given ID. For a Task Server, return the empty sequence.

Parameters
id An App Server, XDBC Server, ODBC Server, or Task Server ID.

Example

xdmp:server-port(845637403676198)
=> 8080
Powered by MarkLogic Server | Terms of Use | Privacy Policy