getPort

Top  Previous  Next

returns the port number on which the server is running.

Definition

portNumber = getPort(  )

 

Example

local port = getPort( )

print(port)

Availability

Lua context during page load.