百科.dev
全部条目趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

localtunnel

> 编程语言
开源

揭发自己

22.4K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

揭发自己

本地隧道将您的本地主机曝光给世界 以方便测试和分享! 不需要和DNS搞混 或部署 只是让其他人测试你的改变。 对浏览器测试工具如浏览器或外部的 api 调用服务如 twilio 的操作很有帮助, 因为调用需要公开 URL 。 快速启动 npx 本地隧道 -- -- 港口 8000 安装 Global npm 安装 - g 本地隧道 作为您工程的依赖, 添加本地隧道 Homebrew bash brig 安装本地隧道 CLI 的使用 当本地隧道在全球安装时, 请使用 lt 命令启动隧道 。 lt -- 端口 8000 就这样! 它会连接到隧道服务器, 设置隧道, 并告诉你什么url用于你的测试。 这个url在您开会期间会一直活跃;所以,请随意与他人分享,以享受快乐的时光! 您可以重新启动您的本地服务器

核心特点

  • •--subdomain request a named subdomain on the localtunnel server (default is random characters)
  • •--local-host proxy to a hostname other than localhost
  • •port (number) [required] The local port number to expose through localtunnel.
  • •subdomain (string) Request a specific subdomain on the proxy server. Note You may not actually receive this name depending on availability.
  • •host (string) URL for the upstream proxy server. Defaults to https://localtunnel.me.
  • •local_host (string) Proxy to this hostname instead of localhost. This will also cause the Host header to be re-written to this value in proxied requests.
  • •local_https (boolean) Enable tunneling to local HTTPS server.
  • •local_cert (string) Path to certificate PEM file for local HTTPS server.
  • •local_key (string) Path to certificate key file for local HTTPS server.
  • •local_ca (string) Path to certificate authority file for self-signed certificates.

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月9日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言
百科.dev

开发者百科,帮助你快速发现语言、框架、数据库、DevOps 与云原生等优质开发者工具。

快捷入口

  • 首页
  • 全部条目
  • 趋势榜
  • 开源项目

关于我们

  • 关于我们
  • 社区公约
  • 技术资讯

参与我们

发现好用的开发者工具?欢迎提交分享。

提交条目
© 2026 开发者百科 baike.dev数据每日更新 · 发现优质开发者工具