Docs
Commands
TCP

btunnel tcp

Serve any app running at any port from your local computer. This is a PRO feature.

Synopsis

To serve a localhost http server running in port , use the "tcp" command. The difference between "http" and "tcp" is that "tcp" is much more performant as it uses raw tcp connection to proxy your request.

The default port picked up by btunnel is 8000. This gives you a randomly generated url which is globally accessible through the internet.

btunnel tcp [flags]
btuneel tcp --help

Output of the above command is like this -

To serve a localhost http server running in port <PORT>, use the "tcp" command.
The difference between "http" and "tcp" is that "tcp" is much more performant as
it uses raw tcp connection to proxy your request.

The default port picked up by btunnel is 8000.
This gives you a randomly generated url which is globally accessible
through the internet.

Usage:
  btunnel tcp [flags]

Flags:
  -h, --help          help for tcp
  -p, --port string   localhost port to serve from (default "8000")

Global Flags:
  -c, --config string   config file (default is $HOME/.btunnel.yaml)
  -k, --key string      API Key to use btunnel, sign-up at https://www.btunnel.in to get your own

Options

  -h, --help          help for tcp
  -p, --port string   localhost port to serve from (default "8000")

Options inherited from parent commands

  -c, --config string   config file (default is $HOME/.btunnel.yaml)
  -k, --key string      API Key to use btunnel, sign-up at https://www.btunnel.in to get your own

SEE ALSO

  • btunnel - btunnel client cli tool