piyush-bhatt / vscode-port

Check port availability, get an available port, or kill process on a port from VSCode

Home Page:https://marketplace.visualstudio.com/items?itemName=piyush-bhatt.vscode-port

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Port Logo

Port helps you check availability of a port, get an available port, or kill running process on a port from Visual Studio Code itself.

Commands

Available port

Check if a port is available or free. If the port is occupied or no port number is provided in input, a random available port is returned based on the Base Port and Highest Port set in the Settings.

Kill process on port

Kill a running process on a port.

Settings

Following settings are available for the extension to get a port within a desirable range,

  • Base Port: Base Port to search an available port from. Defaults to 1024
  • Highest Port: Highest Port to search an available port till. Defaults to 65535

Usage

Here's an example for checking availability of port 4000 and killing the process running on it to make it available.

Check And Kill Port

Acknowledgement

Logo created at LogoMakr.

License

MIT licensed.

About

Check port availability, get an available port, or kill process on a port from VSCode

https://marketplace.visualstudio.com/items?itemName=piyush-bhatt.vscode-port

License:MIT License


Languages

Language:TypeScript 100.0%