diff --git a/massa-client/base_config/config.toml b/massa-client/base_config/config.toml index f3459f28729..586465305c7 100644 --- a/massa-client/base_config/config.toml +++ b/massa-client/base_config/config.toml @@ -3,6 +3,7 @@ history_file_path = "config/.massa_history" timeout = 1000 [default_node] +# The IP of your node. Works both with IPv4 (like 127.0.0.1) and IPv6 (like ::1) addresses, if the node is bound to the correct protocol. ip = "127.0.0.1" private_port = 33034 public_port = 33035 diff --git a/massa-node/base_config/config.toml b/massa-node/base_config/config.toml index 1780fad84e5..e7bf5185dfc 100644 --- a/massa-node/base_config/config.toml +++ b/massa-node/base_config/config.toml @@ -7,11 +7,11 @@ [api] # max number of future periods considered during requests draw_lookahead_period_count = 10 - # port on which the node API listens for admin and node management requests. Dangerous if publicly exposed + # port on which the node API listens for admin and node management requests. Dangerous if publicly exposed. Bind to "[::1]:port" if you want to access the node from IPv6. bind_private = "127.0.0.1:33034" - # port on which the node API listens for public requests. Can be exposed to the Internet + # port on which the node API listens for public requests. Can be exposed to the Internet. Bind to "[::]:port" if you want to access the node from IPv6. bind_public = "0.0.0.0:33035" - # port on which the node API(V2) listens for HTTP requests and WebSockets subscriptions. Can be exposed to the Internet + # port on which the node API(V2) listens for HTTP requests and WebSockets subscriptions. Can be exposed to the Internet. Bind to "[::]:port" if you want to access the node from IPv6. bind_api = "0.0.0.0:33036" # max number of arguments per RPC call max_arguments = 128