在配置 Zookeeper 的时候,我重启了 CentOS 7,发现使用 XShell 远程连接系统(主机:192.168.186.128)超时。
对于操作系统和写代码时候出现的各种 BUG 和意外,我早已经习惯;因为我知道,在有限的时间内,都可以被解决。
然后,我直接进入系统页面,打开命令行输入 ifconfig
:
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.186.130 netmask 255.255.255.0 broadcast 192.168.186.255
inet6 fe80::20c:29ff:fe1a:6c13 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:1a:6c:13 txqueuelen 1000 (Ethernet)
RX packets 636 bytes 48167 (47.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 237 bytes 26851 (26.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)