{"id":5455,"date":"2022-03-06T19:06:15","date_gmt":"2022-03-06T10:06:15","guid":{"rendered":"https:\/\/kumapress.com\/?p=5455"},"modified":"2022-03-06T19:06:22","modified_gmt":"2022-03-06T10:06:22","slug":"mac%e3%81%a7ngrok%e3%81%ae%e7%92%b0%e5%a2%83%e3%82%92%e6%a7%8b%e7%af%89%e3%81%97%e3%81%be%e3%81%99","status":"publish","type":"post","link":"https:\/\/kumapress.com\/?p=5455","title":{"rendered":"Mac\u3067ngrok\u306e\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u307e\u3059"},"content":{"rendered":"<p><span style=\"font-size: 14pt;\">\u6700\u8fd1\u3001\u4f55\u3084\u304b\u3068\u5916\u90e8\u306eWebAPI\u3092\u4f7f\u3046\u30b7\u30fc\u30f3\u304c\u5897\u3048\u3066\u304d\u307e\u3057\u305f\u3002<\/span><br \/><span style=\"font-size: 14pt;\">LINE\u95a2\u9023\u3084\u3089\u3001\u30af\u30ec\u30b8\u30c3\u30c8\u6c7a\u6e08\u95a2\u9023\u3084\u3089\u3002\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u958b\u767a\u95a2\u9023\u306f\u3001\u307b\u307cDocker\u306a\u3093\u304b\u30ed\u30fc\u30ab\u30eb\u3067\u3084\u3063\u3066\u308b\u3093\u3067\u3059\u304c\u3001Webhook\u3067\u60c5\u5831\u304c\u8fd4\u3063\u3066\u304f\u308b\u3093\u3067\u3001\u305d\u308c\u3092\u53d7\u3051\u308b\u5fc5\u8981\u304c\u3002\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u305d\u3093\u306a\u308f\u3051\u3067\u6700\u5f8c\u306b\u306f\u5916\u90e8\u306e\u30c6\u30b9\u30c8\u30b5\u30fc\u30d0\u30fc\u306b\u7f6e\u3044\u3066\u30c6\u30b9\u30c8\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u610f\u5916\u3068\u4e0d\u4fbf\u306a\u3093\u3067\u3001\u4eca\u56de\u300cngrok\u300d\u3067\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/span><\/p>\n\n\n<h3 class=\"wp-block-heading\">\uff11\uff0e\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7<\/h3>\n\n\n\n<p>\u30b5\u30a4\u30c8\u306f\u3053\u3061\u3089\u2192<a href=\"https:\/\/ngrok.com\/\" target=\"_blank\" rel=\"noopener\">ngrok<\/a><br \/><span style=\"font-size: 14pt;\">\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u306a\u3057\u3067\u3082\u5229\u7528\u306f\u3067\u304d\u308b\u305d\u3046\u306a\u3093\u3067\u3059\u304c\u3001\u3001\u306e\u3061\u306e\u3061Basic\u8a8d\u8a3c\u306a\u3093\u304b\u3092\u3055\u305b\u305f\u3044\u3093\u3067\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u3057\u307e\u3057\u305f\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u4eca\u56de\u306fGoogle\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u9023\u643a\u3092\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"379\" height=\"168\" src=\"https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2022\/03\/01ebf523a442ebb2fd426f59ae0ee34c.png\" alt=\"\" class=\"wp-image-5456\" srcset=\"https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2022\/03\/01ebf523a442ebb2fd426f59ae0ee34c.png 379w, https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2022\/03\/01ebf523a442ebb2fd426f59ae0ee34c-300x133.png 300w\" sizes=\"auto, (max-width: 379px) 100vw, 379px\" \/><\/figure>\n\n\n<p><span style=\"font-size: 14pt;\">\u300cCreate Account\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">authtoken\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">$ ngrok authtoken \u301c<\/span><\/p>\n\n\n<h3 class=\"wp-block-heading\">\uff12\uff0engrok\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n\n\n<p><span style=\"font-size: 14pt;\">\u79c1\u306e\u74b0\u5883\u304cMac\u306a\u3093\u3067\u3001Homebrew\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">$ brew install ngrok<\/span><br \/><span style=\"font-size: 14pt;\">\u3067\u304d\u306a\u304b\u3063\u305f\u3089<\/span><br \/><span style=\"font-size: 14pt;\">$ brew cask install ngrok<\/span><br \/><span style=\"font-size: 14pt;\">Warning: No checksum defined for cask &#8216;ngrok&#8217;, skipping verification.<\/span><br \/><span style=\"font-size: 14pt;\">==&gt; Installing Cask ngrok<\/span><br \/><span style=\"font-size: 14pt;\">==&gt; Creating Caskroom directory: \/usr\/local\/Caskroom<\/span><br \/><span style=\"font-size: 14pt;\">We&#8217;ll set permissions properly so we won&#8217;t need sudo in the future.<\/span><br \/><span style=\"font-size: 14pt;\">Password:<\/span><br \/><span style=\"font-size: 14pt;\">==&gt; Linking Binary &#8216;ngrok&#8217; to &#8216;\/usr\/local\/bin\/ngrok&#8217;<\/span><br \/><span style=\"font-size: 14pt;\">\ud83c\udf7a ngrok was successfully installed!<\/span><br \/><br \/><span style=\"font-size: 14pt;\">\u30fb\u8a8d\u8a3c\u3055\u305b\u307e\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">$ ngrok authtoken \u301c\u301c<\/span><br \/><span style=\"font-size: 14pt;\">Authtoken saved to configuration file: \/Users\/toshisan\/.ngrok2\/ngrok.yml<\/span><\/p>\n\n\n<h3 class=\"wp-block-heading\">\uff13\uff0engrok\u3092\u8d77\u52d5\u3057\u307e\u3059<\/h3>\n\n\n<p><span style=\"font-size: 14pt;\">$ ngrok http 8080<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">ngrok by @inconshreveable (Ctrl+C to quit)<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Session Status online<\/span><br \/><span style=\"font-size: 14pt;\">Account t.kumakiti@gmail.com (Plan: Free)<\/span><br \/><span style=\"font-size: 14pt;\">Version 2.3.40<\/span><br \/><span style=\"font-size: 14pt;\">Region United States (us)<\/span><br \/><span style=\"font-size: 14pt;\">Web Interface http:\/\/127.0.0.1:4040<\/span><br \/><span style=\"font-size: 14pt;\">Forwarding http:\/\/b0db-240f-90-a6fa-1-4193-18c9-160c-5d19.ngrok.io -&gt; http:\/\/localhost:8080<\/span><br \/><span style=\"font-size: 14pt;\">Forwarding https:\/\/b0db-240f-90-a6fa-1-4193-18c9-160c-5d19.ngrok.io -&gt; http:\/\/localhost:8080<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Connections ttl opn rt1 rt5 p50 p90<\/span><br \/><span style=\"font-size: 14pt;\">0 0 0.00 0.00 0.00 0.00<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Ctrl + c\u3067\u7d42\u4e86\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3061\u306a\u307f\u306bBasic\u8a8d\u8a3c\u4ed8\u304d\u3067\u8d77\u52d5\u3059\u308b\u5834\u5408\u306f<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">$ngrok http -auth=&#8221;username:passwd&#8221; 8080<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3067\u3001\u3044\u3051\u308b\u3088\u3046\u3067\u3059\u3002\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u4eca\u5ea6\u3069\u3063\u304b\u3067\u8a66\u3057\u3066\u307f\u3088\u3046(^^)<\/span><\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"943\" height=\"744\" src=\"https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2022\/03\/3a4724c2f7cdda2489e28cabc9a5d58b.png\" alt=\"\" class=\"wp-image-5464\" srcset=\"https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2022\/03\/3a4724c2f7cdda2489e28cabc9a5d58b.png 943w, https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2022\/03\/3a4724c2f7cdda2489e28cabc9a5d58b-300x237.png 300w, https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2022\/03\/3a4724c2f7cdda2489e28cabc9a5d58b-768x606.png 768w\" sizes=\"auto, (max-width: 943px) 100vw, 943px\" \/><\/figure>\n<aside class=\"row veu_insertAds after\"><div class=\"col-md-6\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u7b2c 1 \u9762 - 2\uff08www.kumapress.com\uff09 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-5987681888830890\"\r\n     data-ad-slot=\"5379270693\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div><div class=\"col-md-6\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u7b2c 1 \u9762 - 1\uff08www.kumapress.com\uff09 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-5987681888830890\"\r\n     data-ad-slot=\"7353370294\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div><\/aside>","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u3001\u4f55\u3084\u304b\u3068\u5916\u90e8\u306eWebAPI\u3092\u4f7f\u3046\u30b7\u30fc\u30f3\u304c\u5897\u3048\u3066\u304d\u307e\u3057\u305f\u3002LINE\u95a2\u9023\u3084\u3089\u3001\u30af\u30ec\u30b8\u30c3\u30c8\u6c7a\u6e08\u95a2\u9023\u3084\u3089\u3002\u3002\u958b\u767a\u95a2\u9023\u306f\u3001\u307b\u307cDocker\u306a\u3093\u304b\u30ed\u30fc\u30ab\u30eb\u3067\u3084\u3063\u3066\u308b\u3093\u3067\u3059\u304c\u3001Webhook\u3067\u60c5\u5831\u304c\u8fd4\u3063\u3066\u304f\u308b\u3093\u3067\u3001\u305d\u308c\u3092\u53d7\u3051\u308b\u5fc5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5469,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"","footnotes":""},"categories":[126],"tags":[179],"class_list":["post-5455","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-memo","tag-docker"],"_links":{"self":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/5455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5455"}],"version-history":[{"count":10,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/5455\/revisions"}],"predecessor-version":[{"id":5467,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/5455\/revisions\/5467"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/media\/5469"}],"wp:attachment":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}