Wrangler login localhost failed to connect

Trying to get wrangler connected to my cloudflare account but after pasting the URL into the browser and then allowing the connection, it then issues

This site cant be reached
localhost failed to connect.

Any ideas on how to move this on are appreciated

Self resolved by using wrangler config instead - not recommended but much easier than wasting time sorting this problem out.
Docs should provide this as an alternative.