Error catalogueSign-in at the EHR
Cannot listen on the redirect port
What it means
Another program is using the port in your loopback redirect URI, or it needs admin rights.
Fix
Close the program using it, or register a different loopback port.
Check it with smart-doctor
Run your login and smart-doctor ranks this cause against the others, with the evidence it found.
npx smart-doctor check my-profile