{"id":4865,"date":"2022-04-07T19:38:58","date_gmt":"2022-04-07T11:38:58","guid":{"rendered":"https:\/\/blog-staging.tenten.co\/blog\/how-to-use-ngrok-to-connect-your-localhost\/"},"modified":"2023-12-28T01:36:18","modified_gmt":"2023-12-27T17:36:18","slug":"how-to-use-ngrok-to-connect-your-localhost","status":"publish","type":"post","link":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/","title":{"rendered":"\u524d\u7aef\u958b\u767c\u5c0f\u5de5\u5177\u4ecb\u7d39: Ngrok"},"content":{"rendered":"<h2>\u70ba\u4ec0\u9ebc\u7528\u5230 ngrok\uff1f<\/h2>\n<p>\u5728\u81ea\u5df1\u96fb\u8166\u4e0a\u958b\u767c\u7684\u4eba\u901a\u5e38\u90fd\u9047\u5230\u7db2\u5740\u53ea\u6709\u5167\u7db2\u624d\u80fd\u770b\u5230\uff0c\u4f8b\u5982\u00a0 localhost:80\u00a0\uff0c dummy.dev:3000\u00a0 \u554a\uff0c\u9019\u6a23\u7684\u65b9\u5f0f\u90fd\u662f\u7528\u5167\u7db2\u3002<\/p>\n<p>\u96d6\u7136\u6211\u5011\u6709 browsersync \u7684\u89e3\u6c7a\u65b9\u5f0f\uff0c\u4f46\u9019\u500b\u4e5f\u53ea\u9650\u65bc\u5167\u7db2\uff08\u53c8\u6216\u8005\u6211\u8a2d\u5b9a\u4e0d\u7576\u53ea\u80fd\u9023\u5167\u7db2\u2026\uff09\uff0c\u4e5f\u5c31\u662f\u8aaa\uff0c\u82e5\u4f60\u8981\u7d66\u5176\u4ed6\u4eba\u770b\u7684\u8a71\u53ea\u8981\u7db2\u8def\u4e0d\u662f\u540c\u4e00\u500b\uff0c\u5c31\u770b\u4e0d\u5230\u56c9\u3002\u9019\u807d\u8d77\u4f86\u5f88\u9ebb\u7169\u5462\uff01\u4ee5\u524d\u7684\u4f5c\u6cd5\u901a\u5e38\u9084\u8981\u5728\u81ea\u5df1\u96fb\u8166\u4e0a\u6e2c\u8a66\u597d\u5f8c\u9084\u8981\u767c\u4f48\u5230\u6e2c\u8a66\u7ad9\u4e0a\uff0c\u4e2d\u9593\u591a\u4e86\u4e00\u500b\u5de5\uff0c\u9084\u6eff\u7d2f\u4eba\u7684\u3002<\/p>\n<p>\u5c0f\u7de8\u7684\u540c\u4e8b\u524d\u5e7e\u5929\u63d0\u4f9b\u4e86 ngrok \u9019\u500b\u597d\u7269\uff0c\u9019\u6771\u897f\u5be6\u5728\u662f\u592a\u53b2\u5bb3\u4e86\uff0c\u4e4b\u524d\u90fd\u4e0d\u77e5\u9053\u6709\u9019\u7a2e\u6771\u897f\uff0c\u4f8b\u5982\u5c0f\u7de8\u7684\u96fb\u8166\u4e0a\u6709 localhost:3001\u00a0\uff0c\u5728 terminal \u8f38\u5165\u4e86 ngrok http 3001\u00a0\u5f8c\u5c31\u81ea\u52d5\u4e1f\u51fa\u4e00\u500b\u7db2\u5740\u7d66\u4f60\uff0c\u8b93\u5916\u7db2\u7684\u4eba\u90fd\u53ef\u4ee5\u9023\u4e0a\u3002\u771f\u662f\u592a\u795e\u4e86\uff01\u6709\u4e86\u9019\u500b\u6771\u897f\u4e4b\u5f8c\u5c31\u53ef\u4ee5\u6e1b\u5c11\u6709\u4e9b\u5c08\u6848\u4e0d\u7528\u958b\u6e2c\u8a66\u7ad9\u7d66\u4eba\u5bb6\u770b\u4e86\u3002<\/p>\n<h3>\u8a66\u8a66\u770b<\/h3>\n<p>\u9996\u5148\u5148\u5230\u4ed6\u5011\u7684\u5b98\u7db2<a href=\"https:\/\/web.archive.org\/web\/20160901202456\/https:\/\/ngrok.com\/download\">\u4e0b\u8f09<\/a>\uff0c\u5148\u8aaa\u660e\uff0c\u82e5\u4f60\u662f\u7528 mac \u7684\u8a71\uff0c\u76f4\u63a5\u4e0b\u8f09\u89e3\u58d3\u7e2e\u5f8c\u653e\u5728 ~\/\u00a0\u00a0\u5e95\u4e0b\u65b9\u4fbf\u4f60\u4f7f\u7528\uff0c\u4e0d\u7136\u8981\u4e00\u76f4\u4f7f\u7528 .\/ngrok\u00a0\u00a0\u5728\u4e0d\u4e00\u6a23\u7684\u8cc7\u6599\u593e\u9084\u6eff\u9ebb\u7169\u7684\u3002<\/p>\n<p>\u53e6\u4e00\u7a2e\u65b9\u5f0f\u662f\u5c0f\u7de8\u5efa\u8b70\u4f60\u4f7f\u7528 brew cask install ngrok\u00a0\u00a0\u4f86\u5b89\u88dd\u6703\u6bd4\u8f03\u65b9\u4fbf\uff0c\u6307\u4ee4\u4e5f\u6bd4\u8f03\u5168\u5340\u57df\u6027\uff0c\u5343\u842c\u4e0d\u8981\u7528 brew install ngrok\u00a0\u56e0\u70ba\u662f\u4e0a\u9762\u7684 ngrok \u662f\u820a\u7248\uff0c\u8981\u7528 caskroom \u4f86\u88dd\u624d\u662f\u3002<\/p>\n<p>\u4e4b\u5f8c\u5230\u5047\u8a2d\u8aaa\u4f60\u6709\u500b\u7db2\u5740\u662f <a href=\"http:\/\/localhost:3002\">http:\/\/localhost:3002<\/a>\u00a0\uff0c\u4f60\u5728 terminal \u88e1\u9762\u8f38\u5165 ngrok http 3002\u00a0\uff0c\u5c31\u6703\u51fa\u73fe\u4e00\u500b\u756b\u9762\uff0c\u4e4b\u5f8c\u6703\u63d0\u4f9b\u4f60\u7db2\u5740\uff0c\u9019\u500b\u7db2\u5740\u662f\u4f60\u8981\u7d66\u5916\u9762\u7684\u4eba\u770b\u7684\uff0c\u9019\u6a23\u4ed6\u5011\u5c31\u9023\u9032\u4f86\u56c9\uff01<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s5.tenten.co\/2023\/12\/D4qCkj4.png\" alt=\"ngrok-screen\" \/><\/p>\n<h3>\u63d0\u4f9b\u5e33\u865f\u5bc6\u78bc<\/h3>\n<p>\u9084\u6709\u66f4\u9177\u7684\uff01\u4f60\u53ef\u4ee5\u4ee5\u9019\u500b\u65b9\u5f0f\u5beb\uff1a ngrok http -auth=&quot;username:password&quot; 3002\u00a0 \uff0c\u5c31\u53ef\u4ee5\u8b93\u4f60\u7684\u9801\u9762\u53ef\u4ee5\u4ee5\u8f38\u5165\u5e33\u865f\u5bc6\u78bc\u7684\u65b9\u5f0f\u7d66\u4eba\u5bb6\u770b\u56c9\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s5.tenten.co\/2023\/12\/Screenshot-2016-03-21-21.58.45.png\" alt=\"ngrok-password-restrict\" \/><\/p>\n<h3>WordPress<\/h3>\n<p>\u82e5\u5728\u81ea\u5df1 local \u4e0a\u958b\u767c\u7684 wordpress \u7d66\u5916\u9762\u7684\u4eba\u770b\uff0c\u4e5f\u4e0d\u6703\u6709\u9023\u7d50\u4e0a\u7684\u554f\u984c\uff0c\u4f60\u53ea\u8981\u4ee5\u00a0 ngrok http -host-header=wordpress.dev 80\u00a0\u5beb\uff0c\u914d\u5408 plugin \u4f7f\u7528 <a href=\"https:\/\/wordpress.org\/plugins\/relative-url\/\">relative-url<\/a>\uff0c\u5c31\u53ef\u4ee5\u4e86\uff01<\/p>\n<p>\u5ee2\u8a71\u4e0d\u591a\u8aaa\uff0c\u597d\u7528\u7684\u6771\u897f\u8a66\u4e00\u8a66\u5c31\u77e5\u9053\u4e86\uff0c(\u03c3\u00b4\u2200`)\u03c3 \u00a0\u66f4\u591a\u6771\u897f\u5c31\u8981\u770b\u4f60<a href=\"https:\/\/ngrok.com\/docs\">\u767c\u6398<\/a>\u56c9\uff5e<\/p>\n<h3>\u5efa\u8b70<\/h3>\n<ul>\n<li>\u53bb\u7533\u8acb\u5e33\u865f\u8981\u500b API \u9023\u7d50\u66f4\u65b9\u4fbf\uff0c\u9084\u6709\u5f8c\u53f0\u53ef\u4ee5\u770b<\/li>\n<li>\u4ed8\u8cbb\u53ef\u4ee5\u7533\u8acb\u500b subdomain \u8b93\u4f60\u7684\u7db2\u5740\u66f4\u56fa\u5b9a<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\uff0c\u8b1d\u8b1d\u89c0\u770b\uff0c\u559c\u6b61\u7684\u8a71\uff0c\u6309\u500b\u8b9a\u6216\u7559\u8a00\u5427\uff5e<\/p>\n","protected":false},"excerpt":{"rendered":"\u600e\u9ebc\u5c07\u5167\u7db2\u7684 localhost \u8b93\u5916\u9762\u7684\u4eba\u90fd\u770b\u5f97\u5230\u5462\uff1f\u7528\u7528 ngrok \u5427\uff01\u9019\u771f\u7684\u8d85\u65b9\u4fbf\u7684\uff0c\u7e2e\u77ed\u4e86\u5f88\u591a\u5c0f\u6848\u5b50 demo \u7d66\u5ba2\u6236\u7684\u5efa\u7f6e\u6e2c\u8a66\u7ad9\u6642\u9593\u3002","protected":false},"author":1,"featured_media":4872,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[296],"tags":[],"ppma_author":[533],"class_list":["post-4865","post","type-post","status-publish","format-standard","has-post-thumbnail","category-tech","cs-entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u524d\u7aef\u958b\u767c\u5c0f\u5de5\u5177\u4ecb\u7d39: Ngrok - Tenten Blog<\/title>\n<meta name=\"description\" content=\"\u600e\u9ebc\u5c07\u5167\u7db2\u7684 localhost \u8b93\u5916\u9762\u7684\u4eba\u90fd\u770b\u5f97\u5230\u5462\uff1f\u7528\u7528 ngrok \u5427\uff01\u9019\u771f\u7684\u8d85\u65b9\u4fbf\u7684\uff0c\u7e2e\u77ed\u4e86\u5f88\u591a\u5c0f\u6848\u5b50 demo \u7d66\u5ba2\u6236\u7684\u5efa\u7f6e\u6e2c\u8a66\u7ad9\u6642\u9593\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u524d\u7aef\u958b\u767c\u5c0f\u5de5\u5177\u4ecb\u7d39: Ngrok - Tenten Blog\" \/>\n<meta property=\"og:description\" content=\"\u600e\u9ebc\u5c07\u5167\u7db2\u7684 localhost \u8b93\u5916\u9762\u7684\u4eba\u90fd\u770b\u5f97\u5230\u5462\uff1f\u7528\u7528 ngrok \u5427\uff01\u9019\u771f\u7684\u8d85\u65b9\u4fbf\u7684\uff0c\u7e2e\u77ed\u4e86\u5f88\u591a\u5c0f\u6848\u5b50 demo \u7d66\u5ba2\u6236\u7684\u5efa\u7f6e\u6e2c\u8a66\u7ad9\u6642\u9593\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/\" \/>\n<meta property=\"og:site_name\" content=\"Tenten Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/tentencreative\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-07T11:38:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-27T17:36:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/s5.tenten.co\/2023\/12\/ngrok-tool.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Nancy P\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/tentencreative\" \/>\n<meta name=\"twitter:site\" content=\"@tentencreative\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nancy P\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/\"},\"author\":{\"name\":\"Nancy P\",\"@id\":\"https:\/\/tenten.co\/blog\/#\/schema\/person\/b8f2cfaa5cdbcc9a9be32ad46da81aba\"},\"headline\":\"\u524d\u7aef\u958b\u767c\u5c0f\u5de5\u5177\u4ecb\u7d39: Ngrok\",\"datePublished\":\"2022-04-07T11:38:58+00:00\",\"dateModified\":\"2023-12-27T17:36:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/\"},\"wordCount\":46,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/tenten.co\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/s5.tenten.co\/2023\/12\/ngrok-tool.png\",\"articleSection\":[\"Tech\"],\"inLanguage\":\"zh-TW\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/\",\"url\":\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/\",\"name\":\"\u524d\u7aef\u958b\u767c\u5c0f\u5de5\u5177\u4ecb\u7d39: Ngrok - Tenten Blog\",\"isPartOf\":{\"@id\":\"https:\/\/tenten.co\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/s5.tenten.co\/2023\/12\/ngrok-tool.png\",\"datePublished\":\"2022-04-07T11:38:58+00:00\",\"dateModified\":\"2023-12-27T17:36:18+00:00\",\"description\":\"\u600e\u9ebc\u5c07\u5167\u7db2\u7684 localhost \u8b93\u5916\u9762\u7684\u4eba\u90fd\u770b\u5f97\u5230\u5462\uff1f\u7528\u7528 ngrok \u5427\uff01\u9019\u771f\u7684\u8d85\u65b9\u4fbf\u7684\uff0c\u7e2e\u77ed\u4e86\u5f88\u591a\u5c0f\u6848\u5b50 demo \u7d66\u5ba2\u6236\u7684\u5efa\u7f6e\u6e2c\u8a66\u7ad9\u6642\u9593\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#primaryimage\",\"url\":\"https:\/\/s5.tenten.co\/2023\/12\/ngrok-tool.png\",\"contentUrl\":\"https:\/\/s5.tenten.co\/2023\/12\/ngrok-tool.png\",\"width\":1200,\"height\":800},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tenten.co\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u524d\u7aef\u958b\u767c\u5c0f\u5de5\u5177\u4ecb\u7d39: Ngrok\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tenten.co\/blog\/#website\",\"url\":\"https:\/\/tenten.co\/blog\/\",\"name\":\"AI SEO by Tenten - AI-Powered SEO + Technical SEO\",\"description\":\"Shopify Plus\u3001Webflow \u8a8d\u8b49\u5c08\u5bb6\uff01Tenten \u5e6b\u4f60\u5feb\u901f\u5efa\u7f6e\u5c08\u696d\u7db2\u7ad9\",\"publisher\":{\"@id\":\"https:\/\/tenten.co\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tenten.co\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/tenten.co\/blog\/#organization\",\"name\":\"AI SEO by Tenten - AI-Powered SEO + Technical SEO\",\"url\":\"https:\/\/tenten.co\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/tenten.co\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/s5.tenten.co\/2023\/12\/site-icon.png\",\"contentUrl\":\"https:\/\/s5.tenten.co\/2023\/12\/site-icon.png\",\"width\":512,\"height\":512,\"caption\":\"AI SEO by Tenten - AI-Powered SEO + Technical SEO\"},\"image\":{\"@id\":\"https:\/\/tenten.co\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/tentencreative\/\",\"https:\/\/x.com\/tentencreative\",\"https:\/\/www.linkedin.com\/company\/tentenco\",\"https:\/\/www.instagram.com\/tenten.co\",\"https:\/\/www.youtube.com\/user\/tentencreative\",\"https:\/\/dribbble.com\/tentenco\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/tenten.co\/blog\/#\/schema\/person\/b8f2cfaa5cdbcc9a9be32ad46da81aba\",\"name\":\"Nancy P\",\"description\":\"Experienced Stock Market Researcher and Financial Advisor with a passion for analyzing market trends and helping clients make informed investment decisions. Combining in-depth market knowledge with personalized financial planning to deliver tailored solutions for individuals and businesses.\",\"sameAs\":[\"https:\/\/tenten.co\",\"https:\/\/instagram.com\/tenten.co\",\"https:\/\/www.linkedin.com\/in\/pladoramaria\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/tentencreative\",\"https:\/\/www.youtube.com\/@tentencreative\",\"https:\/\/twitter.com\/erikthought\"],\"url\":\"https:\/\/tenten.co\/blog\/author\/tenten\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u524d\u7aef\u958b\u767c\u5c0f\u5de5\u5177\u4ecb\u7d39: Ngrok - Tenten Blog","description":"\u600e\u9ebc\u5c07\u5167\u7db2\u7684 localhost \u8b93\u5916\u9762\u7684\u4eba\u90fd\u770b\u5f97\u5230\u5462\uff1f\u7528\u7528 ngrok \u5427\uff01\u9019\u771f\u7684\u8d85\u65b9\u4fbf\u7684\uff0c\u7e2e\u77ed\u4e86\u5f88\u591a\u5c0f\u6848\u5b50 demo \u7d66\u5ba2\u6236\u7684\u5efa\u7f6e\u6e2c\u8a66\u7ad9\u6642\u9593\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/","og_locale":"zh_TW","og_type":"article","og_title":"\u524d\u7aef\u958b\u767c\u5c0f\u5de5\u5177\u4ecb\u7d39: Ngrok - Tenten Blog","og_description":"\u600e\u9ebc\u5c07\u5167\u7db2\u7684 localhost \u8b93\u5916\u9762\u7684\u4eba\u90fd\u770b\u5f97\u5230\u5462\uff1f\u7528\u7528 ngrok \u5427\uff01\u9019\u771f\u7684\u8d85\u65b9\u4fbf\u7684\uff0c\u7e2e\u77ed\u4e86\u5f88\u591a\u5c0f\u6848\u5b50 demo \u7d66\u5ba2\u6236\u7684\u5efa\u7f6e\u6e2c\u8a66\u7ad9\u6642\u9593\u3002","og_url":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/","og_site_name":"Tenten Blog","article_publisher":"https:\/\/www.facebook.com\/tentencreative\/","article_published_time":"2022-04-07T11:38:58+00:00","article_modified_time":"2023-12-27T17:36:18+00:00","og_image":[{"width":1200,"height":800,"url":"https:\/\/s5.tenten.co\/2023\/12\/ngrok-tool.png","type":"image\/png"}],"author":"Nancy P","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/tentencreative","twitter_site":"@tentencreative","twitter_misc":{"\u4f5c\u8005:":"Nancy P"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#article","isPartOf":{"@id":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/"},"author":{"name":"Nancy P","@id":"https:\/\/tenten.co\/blog\/#\/schema\/person\/b8f2cfaa5cdbcc9a9be32ad46da81aba"},"headline":"\u524d\u7aef\u958b\u767c\u5c0f\u5de5\u5177\u4ecb\u7d39: Ngrok","datePublished":"2022-04-07T11:38:58+00:00","dateModified":"2023-12-27T17:36:18+00:00","mainEntityOfPage":{"@id":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/"},"wordCount":46,"commentCount":0,"publisher":{"@id":"https:\/\/tenten.co\/blog\/#organization"},"image":{"@id":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#primaryimage"},"thumbnailUrl":"https:\/\/s5.tenten.co\/2023\/12\/ngrok-tool.png","articleSection":["Tech"],"inLanguage":"zh-TW"},{"@type":"WebPage","@id":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/","url":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/","name":"\u524d\u7aef\u958b\u767c\u5c0f\u5de5\u5177\u4ecb\u7d39: Ngrok - Tenten Blog","isPartOf":{"@id":"https:\/\/tenten.co\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#primaryimage"},"image":{"@id":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#primaryimage"},"thumbnailUrl":"https:\/\/s5.tenten.co\/2023\/12\/ngrok-tool.png","datePublished":"2022-04-07T11:38:58+00:00","dateModified":"2023-12-27T17:36:18+00:00","description":"\u600e\u9ebc\u5c07\u5167\u7db2\u7684 localhost \u8b93\u5916\u9762\u7684\u4eba\u90fd\u770b\u5f97\u5230\u5462\uff1f\u7528\u7528 ngrok \u5427\uff01\u9019\u771f\u7684\u8d85\u65b9\u4fbf\u7684\uff0c\u7e2e\u77ed\u4e86\u5f88\u591a\u5c0f\u6848\u5b50 demo \u7d66\u5ba2\u6236\u7684\u5efa\u7f6e\u6e2c\u8a66\u7ad9\u6642\u9593\u3002","breadcrumb":{"@id":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/"]}]},{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#primaryimage","url":"https:\/\/s5.tenten.co\/2023\/12\/ngrok-tool.png","contentUrl":"https:\/\/s5.tenten.co\/2023\/12\/ngrok-tool.png","width":1200,"height":800},{"@type":"BreadcrumbList","@id":"https:\/\/tenten.co\/blog\/tech\/how-to-use-ngrok-to-connect-your-localhost\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tenten.co\/blog\/"},{"@type":"ListItem","position":2,"name":"\u524d\u7aef\u958b\u767c\u5c0f\u5de5\u5177\u4ecb\u7d39: Ngrok"}]},{"@type":"WebSite","@id":"https:\/\/tenten.co\/blog\/#website","url":"https:\/\/tenten.co\/blog\/","name":"AI SEO by Tenten - AI-Powered SEO + Technical SEO","description":"Shopify Plus\u3001Webflow \u8a8d\u8b49\u5c08\u5bb6\uff01Tenten \u5e6b\u4f60\u5feb\u901f\u5efa\u7f6e\u5c08\u696d\u7db2\u7ad9","publisher":{"@id":"https:\/\/tenten.co\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tenten.co\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Organization","@id":"https:\/\/tenten.co\/blog\/#organization","name":"AI SEO by Tenten - AI-Powered SEO + Technical SEO","url":"https:\/\/tenten.co\/blog\/","logo":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/tenten.co\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/s5.tenten.co\/2023\/12\/site-icon.png","contentUrl":"https:\/\/s5.tenten.co\/2023\/12\/site-icon.png","width":512,"height":512,"caption":"AI SEO by Tenten - AI-Powered SEO + Technical SEO"},"image":{"@id":"https:\/\/tenten.co\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/tentencreative\/","https:\/\/x.com\/tentencreative","https:\/\/www.linkedin.com\/company\/tentenco","https:\/\/www.instagram.com\/tenten.co","https:\/\/www.youtube.com\/user\/tentencreative","https:\/\/dribbble.com\/tentenco"]},{"@type":"Person","@id":"https:\/\/tenten.co\/blog\/#\/schema\/person\/b8f2cfaa5cdbcc9a9be32ad46da81aba","name":"Nancy P","description":"Experienced Stock Market Researcher and Financial Advisor with a passion for analyzing market trends and helping clients make informed investment decisions. Combining in-depth market knowledge with personalized financial planning to deliver tailored solutions for individuals and businesses.","sameAs":["https:\/\/tenten.co","https:\/\/instagram.com\/tenten.co","https:\/\/www.linkedin.com\/in\/pladoramaria\/","https:\/\/x.com\/https:\/\/twitter.com\/tentencreative","https:\/\/www.youtube.com\/@tentencreative","https:\/\/twitter.com\/erikthought"],"url":"https:\/\/tenten.co\/blog\/author\/tenten\/"}]}},"authors":[{"term_id":533,"user_id":1,"is_guest":0,"slug":"tenten","display_name":"Nancy P","avatar_url":{"url":"https:\/\/s5.tenten.co\/2024\/06\/Kelly-w.jpg","url2x":"https:\/\/s5.tenten.co\/2024\/06\/Kelly-w.jpg"},"first_name":"Nancy","last_name":"P","user_url":"https:\/\/tenten.co","job_title":"Marketer","tiktok":"","youtube":"https:\/\/www.youtube.com\/@tentencreative","linkedin":"https:\/\/www.linkedin.com\/in\/maria-ning\/","instagram":"https:\/\/instagram.com\/tenten.co","twitter":"https:\/\/twitter.com\/tentencreative","facebook":"","description":"Experienced Stock Market Researcher and Financial Advisor with a passion for analyzing market trends and helping clients make informed investment decisions. Combining in-depth market knowledge with personalized financial planning to deliver tailored solutions for individuals and businesses."}],"_links":{"self":[{"href":"https:\/\/tenten.co\/blog\/wp-json\/wp\/v2\/posts\/4865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenten.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenten.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenten.co\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tenten.co\/blog\/wp-json\/wp\/v2\/comments?post=4865"}],"version-history":[{"count":0,"href":"https:\/\/tenten.co\/blog\/wp-json\/wp\/v2\/posts\/4865\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tenten.co\/blog\/wp-json\/wp\/v2\/media\/4872"}],"wp:attachment":[{"href":"https:\/\/tenten.co\/blog\/wp-json\/wp\/v2\/media?parent=4865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenten.co\/blog\/wp-json\/wp\/v2\/categories?post=4865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenten.co\/blog\/wp-json\/wp\/v2\/tags?post=4865"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/tenten.co\/blog\/wp-json\/wp\/v2\/ppma_author?post=4865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}