问题描述:使用filezilla连接VMware 中的linux虚拟机准备上传数据,结果出现错误

filezilla 连接虚拟机出现“FATAL ERROR: Network error: Connection timed out” 错误排查

Linux 虚拟机的排查  

1 查看ssh服务有没有安装 

      #rpm -qa | grep ssh   

filezilla 连接虚拟机出现“FATAL ERROR: Network error: Connection timed out” 错误排查

 

 

 

 

 2 查看SSH服务有没有开启

       #/etc/init.d/sshd status

filezilla 连接虚拟机出现“FATAL ERROR: Network error: Connection timed out” 错误排查

 

3 查看所有端口

      #netstat  -tlnp

filezilla 连接虚拟机出现“FATAL ERROR: Network error: Connection timed out” 错误排查

 

4 linux内使用ssh能不能连接

filezilla 连接虚拟机出现“FATAL ERROR: Network error: Connection timed out” 错误排查

 

5 查看防火墙是否关闭没有

filezilla 连接虚拟机出现“FATAL ERROR: Network error: Connection timed out” 错误排查

 

Linux上的ssh没有问题

查看Windows上的

1 在Windows上ping Linux虚拟机的IP

ping 192.168.0.1

filezilla 连接虚拟机出现“FATAL ERROR: Network error: Connection timed out” 错误排查

 

 

 

 

 

 

 

 

 

 

2 Ipconfig  查看IP的情况

filezilla 连接虚拟机出现“FATAL ERROR: Network error: Connection timed out” 错误排查

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

结果发现该IP地址写错,了解问题所在

进去“网络和Internet设置” ->“以太网”->“更改适配器选项” ->”VMware Network Adapter VMnet1“->双击进入->”选择属性“->"Ip4协议” 更改IP地址

 

filezilla 连接虚拟机出现“FATAL ERROR: Network error: Connection timed out” 错误排查

 

 

 

 

 

 

 

然后Windows上ping linux Ip地址

filezilla 连接虚拟机出现“FATAL ERROR: Network error: Connection timed out” 错误排查

 

 

 

 

 

 

 

 

成功ping通

使用filezilla 连接Linux虚拟机

filezilla 连接虚拟机出现“FATAL ERROR: Network error: Connection timed out” 错误排查

 

 

 

 

 

 

 

 

 

成功解决filezilla连接虚拟机出错问题

 

相关文章: