use hostname & port