Module: Editor

Version: 17.07 +

Type: Long

Category: Document


This formula returns an integer with the port number that is in the request to the webserver. It is useful when you use Futurama in a load-balanced installation. With this function you get detect the instance of Futurama that is processing this request and use that info to change the behavior of the request. For example you could have a webservice that calls another webservice that is also load-balanced. With this formula you can make sure that you call the same instance.


The function requires no parameters.


If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.

Updated: 2017-07-17