start
command will scan your system and find a random port that is not currently in use to start the server on. This ensures that multiple embedded servers can run at the same time on the same host without collisions. Ensure any redirects in your applications take the port into account.server.json
. Add a web.http.port
property, or issue the following command:start
your server, the same port will be used.netstat
command. On Unix-based OS's:web.ajp.secret
property.403
status code will be returned. You can customize the output of the 403 page via the Error Pages settings. 127.0.0.1
. You can set the host to anything you like, but you must add a host
file entry that resolves your host name to an IP address assigned to your network adapter (usually 127.0.0.1)host
parameter.server.json
mySite.localhost
and will simply resolve them to localhost
(127.0.0.1
) even without a hosts file entry. CommandBox now supports using these domains and will bind your server's ports to localhost even without using the commandbox-hostupdater
module.http://
.