Module

std/net/mod.ts>GetAvailablePortOptions

The Deno Standard Library
Go to Latest
interface GetAvailablePortOptions
import { type GetAvailablePortOptions } from "https://dotland.deno.dev/std@0.223.0/net/mod.ts";

Options for getAvailablePort.

Properties

optional
preferredPort: number

A port to check availability of first. If the port isn't available, fall back to another port.