Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface GetAvailablePortOptions
import { type GetAvailablePortOptions } from "https://deno.land/std@0.215.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.