🖥️Set a port live
It is quite easy to expose a port securely with holesail:
Supported options:
Option | Purpose | Required / Optional |
---|---|---|
--live | Port to expose / set live | Required |
--host | Listen to a custom host | Optional. Default is 127.0.0.1 |
--public | Use public connection mode | Optional. Default is private connection mode. |
--connector | Use a custom connection string | Optional. Automatically generated by default, the length should be greater than 32 chars but can not be exactly 64 chars. |
--force | Bypass custom connection string length limit | Optional. Default is false |
Examples:
Start a Holesail server on port 3000 with default host and private mode:
Start a Holesail server on port 3000 for sharing with third parties (public connection string):
Start a Holesail server on port 3000 with a custom host and custom connection string:
Start a holesail server with custom connection string and its smaller than 32 characters:
You can combine multiple options according to your needs. After executing any of the command above, you will get a QR code and a connection string along with some basic information.
In the next step of this guide, we will learn how to connect to a port that we just set live.
Last updated