Last active
October 17, 2019 01:09
-
-
Save hgirish/45e070a6a6692fbf35a51a7ae7158b6c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Using PowerShell, find which process is using the port to solve port in use error. | |
| $portNumber = 1433 | |
| Get-Process -Id (Get-NetTCPConnection -LocalPort $portNumber).OwningProcess |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment