Template the http listen port.