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