mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 07:55:28 +00:00
Update cheatsheets
This commit is contained in:
29
lt
Normal file
29
lt
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 --port {{8000}}`
|
||||
|
||||
- Specify the upstream server doing the forwarding:
|
||||
|
||||
`lt --port {{8000}} --host {{host}}`
|
||||
|
||||
- Request a specific subdomain:
|
||||
|
||||
`lt --port {{8000}} --subdomain {{subdomain}}`
|
||||
|
||||
- Print basic request info:
|
||||
|
||||
`lt --port {{8000}} --print-requests`
|
||||
|
||||
- Open the tunnel URL in the default web browser:
|
||||
|
||||
`lt --port {{8000}} --open`
|
||||
Reference in New Issue
Block a user