Skip to content

Yitzhakpro/Free-My-Port

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Free My Port

Tired of getting:

Port [PORT] is already in use

use this tool to free your port

Compile & Run

Windows:

Install ps2exe Module

Install-Module ps2exe

# output:
# Untrusted repository
#  You are installing the modules from an untrusted repository. If you trust this repository, change
#  its InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to
#  install the modules from 'PSGallery'?
#  [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): Y

Compile the powershell script

Invoke-ps2exe .\free_my_port.ps1 .\free_my_port.exe

Linux:

clone the repo / download the bash file

$ git clone https://github.com/Yitzhakpro/Free-My-Port.git

Run the bash file

$ chmod +x ./free_my_port.sh && ./free_my_port.sh