Xshell无法连接到Centos

现象

这里写图片描述
centos端网络已经开启,但是xshell连接出现如下错误:

Connecting to 192.168.153.130:22...
Could not connect to '192.168.153.130' (port 22): Connection failed.

Type `help' to learn how to use Xshell prompt.
[c:\~]$ 

同时电脑端cmd里面ping此Ip也不通:

正在 Ping 192.168.153.130 具有 32 字节的数据:
请求超时。
请求超时。
请求超时。
请求超时。

解决

1.你得查下是不是你的虚拟机适配器没有打开
这里写图片描述

猜你喜欢

转载自blog.csdn.net/u010520146/article/details/82491966