<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hogem</author_name>
  <author_url>https://blog.hatena.ne.jp/hogem/</author_url>
  <blog_title>うまいぼうぶろぐ</blog_title>
  <blog_url>https://hogem.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>外からNW、FWの疎通確認をしたいけどまだwebサーバでhttpd起動してなかった、というときなどに。 # echo &quot;HTTP/1.0 200 OK&quot; &gt; hoge.txt # echo &quot;&quot; &gt;&gt; hoge.txt # echo &quot;hogehoge&quot; &gt;&gt; hoge.txt # while :; do nc -l 80 &lt; hoge.txt ; done ファイル作るの面倒なときはまとめてechoした出力をncにくわす while :; do (echo &quot;HTTP/1.0 200 OK&quot;; echo &quot;&quot;; echo &quot;hogehoge&quot;) | nc -l 80 ; done</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogem.hatenablog.com%2Fentry%2F20140909%2F1410266918&quot; title=&quot;ncで簡易webサーバを起動する - うまいぼうぶろぐ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-09-09 21:48:38</published>
  <title>ncで簡易webサーバを起動する</title>
  <type>rich</type>
  <url>https://hogem.hatenablog.com/entry/20140909/1410266918</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
