Skip to content

Commit d6f57e0

Browse files
authored
Update error message for invalid IP and port format to clarify ipv6 (#20165)
Update error message for invalid IP and port format Hint how to format the ipv6 address on the command line
1 parent ab01147 commit d6f57e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chia/cmds/peer_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async def add_node_connection(rpc_client: RpcClient, add_connection: str) -> Non
2020
except Exception:
2121
print(f"Failed to connect to {host}:{port}")
2222
except ValueError:
23-
print("Enter a valid IP and port in the following format: 10.5.4.3:8000")
23+
print("Enter a valid IP and port in the following format: 10.5.4.3:8444 or [2606:f6c0:80:5::a]:8444")
2424

2525

2626
async def remove_node_connection(rpc_client: RpcClient, remove_connection: str) -> None:

0 commit comments

Comments
 (0)