Mac安装telnet
程序员文章站
2024-03-14 10:40:10
...
Mac安装telnet
使用 homebrew 安装telnet:
brew install telnet
安装完毕,然后输入命令测试
telnet toutiao.com 80
测试显示
Lou:~ kerwin$ telnet toutiao.com 80
Trying 123.58.9.80...
Connected to toutiao.com.
Escape character is '^]'.
BYE
HTTP/1.1 400 Bad Request
Server: nginx
Date: Thu, 13 Dec 2018 10:18:16 GMT
Content-Type: text/html
Content-Length: 166
Connection: close
X-TT-TIMESTAMP: 1544696296.424
<html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>
Connection closed by foreign host.
上一篇: 嵌入式安装telnet
下一篇: 微信机器人_微信聊天消息记录拦截分析