User guide
Chapter 13: Command Line Interface
173
HTTP Command
Thehttpcommandisusedtocontrolhttpaccessandredirection,and
definetheport.
Thesyntaxofthehttpcommandis:
http [enable <true|false>] [port value] [redirect
<true|false>]
Thehttpcommandoptionsaredescribedinthefollowingtable.
Command Description
enable<true|false> Enable/DisableHTTPaccess
portvalue HTTPserverdefaultlistenport(tcp)
redirect<true|false> Enable/DisableredirectionfromHTTPto
HTTPS
HTTP Command Example
Theexamplebelowenableshttpaccessandredirectiontohttps,andsets
thedefaultportto2.
admin > Config > Services > http enable true port 2
redirect true
HTTPS Command
Thehttpscommandisusedtocontrolhttpsaccessanddefinetheport.
Thesyntaxofthehttpscommandis:
https [enable <true|false>] [port value]
Thehttpscommandoptionsaredescribedinthefollowingtable.
Command Description
enable<true|false> Enable/DisableHTTPaccess
portvalue HTTPserverdefaultlistenport(tcp)