fix url is ip & has port bug #1