Hello, everyone!
Have a nice day!
The post will share with you how to solve the port is incorrect when the REST interface is used to obtain the VNC connection.
Problem Description
When the REST interface is used to obtain the VNC connection, the port is incorrect. As a result, the VNC fails to log in to the VM.
Problem Analysis
1. Run the following command to obtain the novnc url link:
nova get-vnc-console <server ><console-type>
server : VM UUID
console-type: console type has two types: novnc and xvpvnc , current use console type is novnc.
like :

You can use the URL obtained in the preceding command to log in to the VM from the browser. That is, the value of the port is 8002, which is not 443.
This is my solution, how about yours? Go ahead and share it with us!