Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 08, 2016, 04:07:42 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Port free-er  (Read 1408 times)

vbmark

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 40
    • View Profile
    • Donate to Member
IDEA: Port free-er
« on: September 17, 2012, 07:40:14 AM »
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

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 45
    • View Profile
    • Donate to Member
Re: IDEA: Port free-er
« Reply #1 on: September 17, 2012, 09:34:25 AM »

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

vbmark

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 40
    • View Profile
    • Donate to Member
Re: IDEA: Port free-er
« Reply #2 on: September 17, 2012, 10:08:24 AM »
argv,

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

Thank you!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,668
    • View Profile
    • Donate to Member
Re: IDEA: Port free-er
« Reply #3 on: September 18, 2012, 04:20:07 PM »
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.