appServerPort
appServerPort(): Integer;
The appServerPort method of the Process class returns the TCP/IP communications port number of the application server node on which the process is executing. This method does not return the port number of the receiver of the method.
When running in single user mode or the application is not running in Jade thin client mode, the appServerPort method returns zero (0).