static tool method for host:port