Hey @southwalesowl,
Adding the 127.0.0.1 multiportal.calligo.cloud hosts entry just allows MultiPortal and the console server to talk to each other locally, however, the error you now have ECONNREFUSED 127.0.0.1:443 means the console server cannot reach MultiPortal locally on port 443. That loopback shortcut only works when MultiPortal is handling its own traffic directly on the server.
Can you please confirm:
MultiPortal was installed using the automated script?
Is an SSL configured on the box, or are you using a Load Balancer for MultiPortal?
Confirm the system is reporting on port 443 sudo ss -ltnp | grep ':443' You should see something like
⎿ LISTEN 0 4096 *:443 *:* users:(("caddy",pid=4140634,fd=7))
Can you also comment out that hosts entry you added to your MultiPortal server, restart the console server, and try connecting again? Let me know if the old error comes back after you regenerated the new API key.
Matt