Adding Listening Ports

The following example shows how to configure System Web Interface to listen on multiple ports. In this example, two ports, 6787 and 8080, are specified. Always include port 6787, which is the default:

$ svccfg -s webui/server:default
svc:/system/webui/server:default> setprop conf/listen_addresses = astring: ("6787" "8080")
svc:/system/webui/server:default> listprop conf/listen_addresses
conf/listen_addresses astring     "6787" "8080"
svc:/system/webui/server:default> refresh
svc:/system/webui/server:default> exit
$ svcprop -p conf/listen_addresses webui/server:default
6787 8080