ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: Port free-er

(1/1)

vbmark:
Hello,

I need a certain port free for an app I use.  However, when booting my PC,  Windows will, on occasion, decide to use the port I want and therefore my app generates errors saying it cannot access the port.

Therefore, what I would like is an app that would, upon execution, kill whatever program is using that port.

The way I currently do it is I launch the command prompt and type "netstat /ano" to see what program has taken the port.  Then I see what the program's PID is.  Then I run Sysinternal's Process Explorer and show the PID column and then kill that program.

I would really like to tell some app, "hey, kill whatever is using port 1080", and save me some step.

Can this be done?

Thanks!
Mark

argv:

You could see the processes and the ports and kill the application directly from TcpView (http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx). Probably is not exactly what you want but you will be able to identify and kill the process in fewer steps.

vbmark:
argv,

Cool tool.  It is faster.  I can use this for now.

Thank you!

skwire:
vbmark, please give this a try:  Porticullis

It's a commandline application and simple to use:  Porticullis.exe <port number>

Please let me know if it works for you.  Thanks.

Navigation

[0] Message Index

Go to full version