Application.Port (gb.web)

Static Property Read Port As String

Return the port specified in the URL request.

It is an equivalent of CGI["SERVER_PORT"].

Depuis 3.19

CGI["SERVER_PORT"] is the port number used for the connection to the HTTP server, which is not the request port as soon you are behind a proxy.

Consequently, since Gambas 3.19, this property does not use CGI["SERVER_PORT"] anymore, but returns the actual request port as stored in the port part of CGI["HTTP_HOST"].