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

Learn More:

Use 'ockam --help' for more information about a subcommand. Where might be: 'node', 'status', 'enroll', etc. Learn more about Command: https://command.ockam.io/manual/ Learn more about Ockam: https://docs.ockam.io/reference/command

Feedback:

If you have questions, as you explore, join us on the contributors discord channel https://discord.ockam.io