tcp-connection create


ockam tcp-connection create [OPTIONS] --to <ADDRESS>

Create a TCP connection

Options

  • --from [NODE] (optional)
    Node that will initiate the connection

  • -t, --to <ADDRESS>
    The address to connect to

Examples

# To create a new TCP connection at the given address using the default node
$ ockam tcp-connection create --to 127.0.0.1:5000

# To create a new TCP connection at the given address using a specific node
$ ockam tcp-connection create --from n1 --to 127.0.0.1:5000