mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user