😙Overview

Holesail can be segregated into mainly two parts, one is the server and other the client. When you set a port live (expose a port), we call it a holesail server, and when you connect to a holesail server, we call it a holesail client.

Holesail npm version and the Holesail executable for terminal supports both holesail client and server. That means you can use the terminal version to set ports live and connect to other people.

We also have Holesail Go apps for Mac, iOS and Windows which support only connecting and you can not set a port live using them.

Step 1 : Expose a port

Let's assume we have a react website running on localhost:4545, then to expose this port we will do:

holesail --live 4545 --host localhost

Step 2: Connect to the server

Now, on a different computer (or even same) copy the connection string you got from the previous step and run:

holesail ccdd2c6fcb84cd1694b3fd39474790364c358676a364e2cf0ea8161b2448

You can also scan the QR code using Holesail Go app on your phone and Mac to connect.

Step 3: Access the application

You are now connected, and the port from device 1 is available on device 2. You can now access the running application on the provided URL after "Access application on". Which is 127.0.0.1:8989 in this case.

The port and host on second device are irrelevant of the port and host on device one. More about setting a custom port and host in the next module.

Last updated