- Published on
Remove netsh interface portproxy
- Author
- Name
- A. Fauzi
- Title
- Human Being
To delete netsh interface portproxy, use the following syntax:
$ netsh interface portproxy delete v4tov6 listenport= {Integer | ServiceName} [[listenaddress=] {IPv4Address| HostName}] [[protocol=]tcp]
Example:
$ netsh interface portproxy delete v4tov4 listenport=<port-you-want-to-remove> listenaddress=0.0.0.0
This also fixes Node error Error: listen EACCES: permission denied,because the port you want to listen on your app is being used by netsh interface.
Resource: Netsh interface portproxy commands - Microsoft Docs