LoginSignup
1
1

More than 5 years have passed since last update.

(メモ)telnetでsmtp,httpをしてみる

Posted at

SMTP

telnet mailserver.home 587
helo telnet1
mail from: <user@mailserver.home>
rcpt to: user@mailserver.home
メール送信
data
本文をここに書く
.

250 2.0.0 Ok: queued as B9D3217FFFFF

HTTP

$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /index.html
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
Connection closed by foreign host.
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1