2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`lt {{[-p|--port]}} {{8000}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Specify the upstream server doing the forwarding:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`lt {{[-p|--port]}} {{8000}} {{[-h|--host]}} {{host}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Request a specific subdomain:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`lt {{[-p|--port]}} {{8000}} {{[-s|--subdomain]}} {{subdomain}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Print basic request info:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`lt {{[-p|--port]}} {{8000}} --print-requests`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Open the tunnel URL in the default web browser:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`lt {{[-p|--port]}} {{8000}} {{[-o|--open]}}`
|