From 6aa424eff030f09fb60474185e38af856add13fb Mon Sep 17 00:00:00 2001 From: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com> Date: Fri, 17 Oct 2025 15:09:54 -0700 Subject: [PATCH] Update error message for invalid IP and port format Hint how to format the ipv6 address on the command line --- chia/cmds/peer_funcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chia/cmds/peer_funcs.py b/chia/cmds/peer_funcs.py index 7e37bb61aed0..a0f366892b8c 100644 --- a/chia/cmds/peer_funcs.py +++ b/chia/cmds/peer_funcs.py @@ -20,7 +20,7 @@ async def add_node_connection(rpc_client: RpcClient, add_connection: str) -> Non except Exception: print(f"Failed to connect to {host}:{port}") except ValueError: - print("Enter a valid IP and port in the following format: 10.5.4.3:8000") + print("Enter a valid IP and port in the following format: 10.5.4.3:8444 or [2606:f6c0:80:5::a]:8444") async def remove_node_connection(rpc_client: RpcClient, remove_connection: str) -> None: