use host and port in url