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 | false | force start if status is not stopped |
debug | boolean | false | Turns on debug output while starting and streams server output to console. | |
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 to load | |
trayIconFile | 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. | |
startTimeout | numeric | false | The amount of time in seconds to wait for the server to start (in the background). | |
console | boolean | false | Start this server in the forground console process and wait until Ctrl-C is pressed to stop it. | |
welcomeFiles | string | false | A comma-delimited list of default files to load when visiting a directory (index.cfm,index.htm,etc) | |
serverHomeDirectory | string | false | The folder where the CF engine WAR should be extracted |
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