The first step: Use the command to view the local ip
ifcongig -a
At this time, use the crt connection to find a connection error, then perform the second step
Step 2: Install ssh on the virtual machine, after installation and monitor whether the connection port monitoring is started
sudo apt-get install openssh-server 安装ssh
netstat -nat | grep 22 监控22端口是否已经占用
Step 3: Turn off the firewall (this is the main reason why crt cannot connect)
sudo ufw disable
After performing the above three steps, crt can be connected