现在能ping通,但是wget总是 Connection timed out.
在外面可以ping通ubuntn,也可以Putty连接到里面.
刚学习,请大家多多帮忙。
代码: 全选
root@ubuntu:/home/soft# ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
64 bytes from 192.168.1.100: icmp_seq=1 ttl=64 time=0.234 ms
64 bytes from 192.168.1.100: icmp_seq=2 ttl=64 time=0.390 ms
64 bytes from 192.168.1.100: icmp_seq=3 ttl=64 time=0.369 ms
--- 192.168.1.100 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.234/0.331/0.390/0.069 ms
代码: 全选
root@ubuntu:/home/soft# wget -c http://192.168.1.100/z.tar.gz
--11:50:50-- http://192.168.1.100/z.tar.gz
=> `z.tar.gz'
Connecting to 192.168.1.100:80... failed: Connection timed out.
Retrying.
--11:54:00-- http://192.168.1.100/z.tar.gz
(try: 2) => `z.tar.gz'
Connecting to 192.168.1.100:80... failed: Connection timed out.
Retrying.