Captain is currently in ALPHA. We are happy to get your feedback
Core API
Helpers Utils Init Ports

Module: helpers/utils/init-ports

Table of contents

Functions

Functions

initPorts

initPorts(): Promise<void>

Initialize the ports needed for all the applications that Captain is using under the hood.

Note: It is a good idea to define default ports, because if we use a default port, then the Windows firewall will always ask the user if they want to allow access to the specific port.

Returns

Promise<void>

Defined in

src/electron/helpers/utils/init-ports.ts:11 (opens in a new tab)