Finalshell connection virtual machine timed out java.net.ConnectException: Connection refused【Solved】
Recently learning Liunx, the connection to the virtual machine has been timed out, and the problem has been checked and solved overnight. I will record it myself to prevent forgetting. (If you need to install the package, you can leave a message)
1. The IP network segment of the virtual machine is different from the local IP network segment
. 2. The network adapter is abnormal and needs to update the driver,
The IP network segment of the virtual machine is different from the local IP network segment
The solution is
to turn on the bridge mode
. Be careful not to choose automatic here and you need to connect to your host. Note that if it appears: the network cannot be changed to a bridged state and there is no unbridged host network adapter.
Restore the default state
and then set it in the virtual machine settings. After setting the network adapter VMnet0,
find the virtual machine ip address. If the ip address is displayed as garbled characters, follow the instructions below to modify the file content to initialize the network connection
and then check the virtual machine address.
You can connect successfully in Finalshell (if your ip is not wrong)
network adapter problem
1. The driver has not been updated or the registry is abnormal because it has not been deleted.
Update the driver and update the driver on Baidu.
2. If the update fails, the registry may be blocked.
Download ccleaner to clean the registry
. Download link: https://www.ccleaner.com/zh -cn/ccleaner/download/standard