运行 netstat apn|grep 8123
tcp 0 1 10.20.201.142:34686 172.16.12.220:8123 SYN_SENT
...
运行ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:10700 errors:0 dropped:0 overruns:0 frame:0
TX packets:10700 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:859211 (859.2 KB) TX bytes:859211 (859.2 KB)
wlp3s0 Link encap:Ethernet HWaddr 24:77:03:42:d5:8c
inet addr:10.20.201.142 Bcast:10.20.207.255 Mask:255.255.240.0
inet6 addr: fe80::8393:275a:fe65:a243/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:118161 errors:0 dropped:0 overruns:0 frame:0
TX packets:24470 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:43798744 (43.7 MB) TX bytes:3803031 (3.8 MB)
问题:在执行sudo apt-get update 时报无法连接到172.16.12.220:8123。请问如何解决?谢谢!