Skip to main content

dfx info

Reference

Basic usage

dfx info [type] [flag]

Information Types

These are the types of information that the dfx info command can display.

OptionDescription
networks-json-pathPath to network definition file networks.json.
replica-portThe listening port of the replica.
replica-revThe revision of the bundled replica.
webserver-portThe local webserver (icx-proxy) port.

Examples

You can display the webserver port by running the following command:

$ dfx info webserver-port
4943