ping git.io可以通为什么curl -v git.io不通?
[root@localhost CNdeepdive]#
[root@localhost CNdeepdive]# curl -v git.io
* About to connect() to git.io port 80 (#0)
* Trying 127.0.0.1...
* 拒绝连接
* Failed connect to git.io:80; 拒绝连接
* Closing connection 0
curl: (7) Failed connect to git.io:80; 拒绝连接
[root@localhost CNdeepdive]# git.io
-bash: git.io: 未找到命令
[root@localhost CNdeepdive]# ping git.io
PING git.io (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.012 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.024 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.021 ms
^C
--- git.io ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.012/0.019/0.024/0.005 ms