1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 01:55:24 +02:00
tldr/pages/common/lt.md
Managor 8e09a08059
common*: refresh old pages part 3 (#16257)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-04-25 21:19:03 +03:00

604 B

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}}

  • Specify the upstream server doing the forwarding:

lt {{[-p|--port]}} {{8000}} {{[-h|--host]}} {{host}}

  • Request a specific subdomain:

lt {{[-p|--port]}} {{8000}} {{[-s|--subdomain]}} {{subdomain}}

  • Print basic request info:

lt {{[-p|--port]}} {{8000}} --print-requests

  • Open the tunnel URL in the default web browser:

lt {{[-p|--port]}} {{8000}} {{[-o|--open]}}