fixed for ip-based address testing like a 'https://aaa.bbb.ccc:1111/service'