{"type":"rich","blog_title":"tmtms \u306e\u30e1\u30e2","title":"\u8ab0\u3082\u63b4\u3093\u3067\u306a\u3044 TCP \u30dd\u30fc\u30c8\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u306a\u3044","blog_url":"https://blog.tmtms.net/","image_url":null,"categories":["Linux"],"published":"2015-08-13 21:03:14","author_url":"https://blog.hatena.ne.jp/tmtms/","height":"190","provider_url":"https://hatena.blog","author_name":"tmtms","description":"\u305f\u3068\u3048\u3070\u3001\u6b21\u306e\u4f8b\u3067\u306f 12345 \u30dd\u30fc\u30c8\u306f netstat \u3084 lsof \u3067\u3082\u51fa\u3066\u3053\u306a\u3044\u3057\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u63a5\u7d9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u305b\u3093\u3002 # netstat -a | grep 12345 # lsof -i :12345 # telnet localhost 12345 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused \u304c\u300112345 \u30dd\u30fc\u30c8\u3067 LISTEN \u3059\u308b\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3059\u308b\u3068 Address already in use \u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002 # ruby -rsocket \u2026","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F2015%2F08%2F13%2Fstealth_tcp_port\" title=\"\u8ab0\u3082\u63b4\u3093\u3067\u306a\u3044 TCP \u30dd\u30fc\u30c8\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u306a\u3044 - tmtms \u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","url":"https://blog.tmtms.net/entry/2015/08/13/stealth_tcp_port","version":"1.0"}