1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 20:15:23 +02:00
tldr/pages/common/lt.md

25 lines
604 B
Markdown
Raw Normal View History

2020-10-06 16:33:14 +05:30
# lt
> Localtunnel exposes your localhost to the world for easy testing and sharing.
> More information: <https://github.com/localtunnel/localtunnel>.
- Start tunnel from a specific port:
`lt {{[-p|--port]}} {{8000}}`
2020-10-06 16:33:14 +05:30
- Specify the upstream server doing the forwarding:
`lt {{[-p|--port]}} {{8000}} {{[-h|--host]}} {{host}}`
2020-10-06 16:33:14 +05:30
- Request a specific subdomain:
`lt {{[-p|--port]}} {{8000}} {{[-s|--subdomain]}} {{subdomain}}`
2020-10-06 16:33:14 +05:30
- Print basic request info:
`lt {{[-p|--port]}} {{8000}} --print-requests`
2020-10-06 16:33:14 +05:30
- Open the tunnel URL in the default web browser:
`lt {{[-p|--port]}} {{8000}} {{[-o|--open]}}`