filezilla连接不上虚拟机的解决方案
现象
解决过程
虚拟机终端输入ip addr
输出:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:0c:29:d0:cb:bc brd ff:ff:ff:ff:ff:ff
altname enp2s1
inet6 2409:8a00:79ab:96c0:bae0:1ecd:9d6d:7a85/64 scope global temporary dynamic
valid_lft 259184sec preferred_lft 33166sec
inet6 2409:8a00:79ab:96c0:2e67:6e52:4afa:7694/64 scope global temporary deprecated dynamic
valid_lft 259184sec preferred_lft 0sec
这表明:没有分配 IPv4 地址
解决方案
虚拟机终端重启网络服务:sudo systemctl restart network-manager
原文地址:https://blog.csdn.net/u014685611/article/details/144321231
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!