fixed ipaddr/port parsing for connectivity checking