CommandBox : CLI, Package Manager, REPL & More
5.9.0
Search
⌃K
Introduction
About This Book
Authors
Overview
Release History
Getting Started Guide
Setup
Usage
IDE Integrations
Config Settings
Embedded Server
Multi-Engine Support
ModCFML Support
Server Versions
Start HTML Server
Offline Server Starts
Debugging Server Starts
Server Processes
Manage Servers
FusionReactor
Server Logs
Server Scripts
Configuring Your Server
External Web Server
Starting as a Service
Single Server Mode
Server.json
Working with server.json
Packaging Your Server
Using Multiple server.json Files
Package Management
Task Runners
Helpful Commands
Deploying CommandBox
TestBox Integration
Developing For CommandBox
ForgeBox Enterprise
Introduction
Storage
Commands
Usage
Powered By GitBook

Working with server.json

Interacting with the server.json file uses the commands server set, server show, and server clear, which work the same as the package set/show/clear commands.
Set the port for your server:
server set web.http.port=8080
View the port:
server show web.http.port
View the port with JMESPath:
server show jq:web.http.port
Remove the saved setting:
server clear web.http.port
Previous
Server.json
Next
Packaging Your Server
Last modified 1mo ago
Export as PDF
Copy link
Edit on GitHub