Name | Type | Required | Default | Hint |
name | string | false | short name for this server or a path to the server.json file. | |
port | numeric | false | port number | |
host | string | false | bind to a host/ip | |
openbrowser | boolean | false | open a browser after starting | |
directory | string | false | web root for this server | |
stopPort | numeric | false | stop socket listener port number | |
force | boolean | false | force start if status is not stopped | |
debug | boolean | false | sets debug log level | |
webConfigDir | string | false | custom location for web context configuration | |
serverConfigDir | string | false | custom location for server configuration | |
libDirs | string | false | comma-separated list of extra lib directories for the server | |
trayIcon | string | false | path to .png file for tray icon | |
webXML | string | false | path to web.xml file used to configure the server | |
HTTPEnable | boolean | false | enable HTTP | |
SSLEnable | boolean | false | enable SSL | |
SSLPort | numeric | false | SSL port number | |
SSLCert | string | false | SSL certificate | |
SSLKey | string | false | SSL key (required if SSLCert specified) | |
SSLKeyPass | string | false | SSL key passphrase (required if SSLCert specified) | |
rewritesEnable | boolean | false | enable URL rewriting (default false) | |
rewritesConfig | string | false | optional URL rewriting config file path | |
heapSize | numeric | false | The max heap size in megabytes you would like this server to start with, it defaults to 512mb | |
directoryBrowsing | boolean | false | Enable/Disabled directory browsing, defaults to true | |
JVMArgs | string | false | Additional JVM args to use when starting the server. Use "server status --verbose" to debug | |
runwarArgs | string | false | Additional Runwar options to use when starting the server. Use "server status --verbose" to debug | |
saveSettings | boolean | false | true | Save start settings in server.json |
cfengine | string | false | sets the cfml engine type | |
WARPath | string | false | sets the path to an existing war to use | |
serverConfigFile | string | false | The path to the server's JSON file. Created if it doesn't exist. |
Start an embedded CFML server. Run command from the web root of the server.
Please also remember to look at the plethora of arguments this command has as you can start your server with SSL, rewrites and much more.
server startStart with rewrites enabled
server start --rewritesEnableStart with specifc heap size
server start heapSize=768The default CF engine is the version of Lucee Server that the CLI is running on.
server start cfengine=railocfengine can also be any valid Endpoint ID that points to a ForgeBox entry, HTTP URL, etc.
server start cfengine=adobe
server start cfengine=adobe@11.0
server start cfengine=http://downloads.ortussolutions.com/adobe/coldfusion/9.0.2/cf-engine-9.0.2.zipYou can also start up a local WAR file with the WARPath parmeter.
server start WARPath=/path/to/explodedWAR
server start WARPath=/path/to/WARArchive.war