kvm – Unable to take Remote console of VM

I installed and configured KVM in Ubuntu 20. i installed cockpit and to manage network and virtual machines.

enter image description here

If I am accessing cockpit locally from server and access VM through remote console, I am able to access it but if I am doing same from desktop, it fails.

Error Message : Unable to connect to remote server

Please help me to resolve the issue.