Got it

[Failed to login VM use VNC]The port is incorrect when the REST interface is used to obtain the VNC connection

1119 0 16 0 0

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 :

9

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!

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.