<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pinkumohikan</author_name>
  <author_url>https://blog.hatena.ne.jp/pinkumohikan/</author_url>
  <blog_title>モヒカンメモ</blog_title>
  <blog_url>https://blog.pinkumohikan.com/</blog_url>
  <categories>
    <anon>Linux/Unix</anon>
    <anon>エンジニアリング</anon>
    <anon>開発tips</anon>
  </categories>
  <description>Linux環境で特定のポートを使いたいけど先に使われていてどのプログラムがそのポートを使っているか知りたいとき、lsofコマンドが便利。 lsofコマンド 「lsof」はオープンしているファイルを一覧表示するコマンドです。 www.atmarkit.co.jp lsofコマンドに-iオプションでポート番号をつけて実行すると、そのポートを握っているプログラム (コマンド) がわかる。 80番ポートを使っているのは誰？ $ sudo lsof -i:80 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME nginx 17287 root 12u …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.pinkumohikan.com%2Fentry%2Fuse-lsof-command-to-detect-program-using-port-80&quot; title=&quot;80番ポートを使っているプログラムをlsofコマンドで特定する - モヒカンメモ&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>2020-06-26 12:07:53</published>
  <title>80番ポートを使っているプログラムをlsofコマンドで特定する</title>
  <type>rich</type>
  <url>https://blog.pinkumohikan.com/entry/use-lsof-command-to-detect-program-using-port-80</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
