ip address trim
If there is a space in front of the host name, it gives "Network error: Cannot assign requested address" when connecting. I am typing the ip address in, not a DNS name. When I remove the space, it is able to connect. Perhaps the ip could be trimmed before attempting a connection?