How To Close Ports

So i've been looking for a while on just how to close a port on a computer. I simply
couldn't find a way. Well, i finally found it. This'll only work for windows users (unless
your unix version OS has netsh).
it's actually quite simple. here's the command for it:
netsh firewall delete portopening TCP portnumber
it's that simple. Simply go to START -> RUN -> and type in that command up there,
and it'll close it for you.
or, you can also open up command prompt (START -> RUN -> CMD) and type in "netsh"
without the quotes to get to your windows firewall settings.
however, since i'm such a nice guy, i wrote it all out in a vbs script for you so that it's
automatically runable. as well as a batch script. so here you are fellas:
.VBS Script
set ss = createobject("wscript.shell")
set ws = wscript
dim PORT
PORT = InputBox("Enter the port you wish to close:")
ss.run "netsh.exe"
ws.sleep 1000
ss.sendkeys "firewall delete portopening TCP " & PORT
ss.sendkeys "{enter}"
ws.sleep 500
'ss.sendkeys "exit"
'ss.sendkeys "{enter}"
.BAT Script
@echo off
title Port Closer
echo Port Closer
echo.
set /p port=Type the port number you wish to close here:
netsh firewall delete portopening TCP %port%
msg /w * Port %port% has been closed.
exit

3 Comments:

  1. Look at the way my acquaintance Wesley Virgin's story starts with this SHOCKING AND CONTROVERSIAL video.

    As a matter of fact, Wesley was in the military-and soon after leaving-he discovered hidden, "SELF MIND CONTROL" tactics that the CIA and others used to obtain everything they want.

    As it turns out, these are the exact same methods many celebrities (especially those who "became famous out of nothing") and the greatest business people used to become rich and famous.

    You've heard that you utilize only 10% of your brain.

    That's because the majority of your brainpower is UNCONSCIOUS.

    Perhaps that conversation has even taken place INSIDE OF YOUR very own brain... as it did in my good friend Wesley Virgin's brain around seven years ago, while riding an unregistered, beat-up bucket of a car with a suspended license and with $3 on his bank card.

    "I'm so frustrated with going through life paycheck to paycheck! When will I finally succeed?"

    You took part in those types of thoughts, isn't it right?

    Your very own success story is going to happen. All you need is to believe in YOURSELF.

    UNLOCK YOUR SECRET BRAINPOWER

    ReplyDelete
  2. As reported by Stanford Medical, It is really the one and ONLY reason women in this country get to live 10 years longer and weigh on average 42 pounds less than us.

    (And really, it has totally NOTHING to do with genetics or some secret diet and really, EVERYTHING related to "HOW" they eat.)

    P.S, I said "HOW", not "what"...

    CLICK this link to see if this short questionnaire can help you discover your true weight loss possibility

    ReplyDelete
  3. This way my associate Wesley Virgin's report begins with this SHOCKING and controversial video.

    Wesley was in the army-and shortly after leaving-he unveiled hidden, "self mind control" tactics that the government and others used to get everything they want.

    As it turns out, these are the same SECRETS tons of celebrities (notably those who "became famous out of nothing") and elite business people used to become wealthy and famous.

    You've heard that you utilize only 10% of your brain.

    Really, that's because most of your brain's power is UNCONSCIOUS.

    Maybe that expression has even occurred IN YOUR very own brain... as it did in my good friend Wesley Virgin's brain 7 years ago, while riding a non-registered, beat-up garbage bucket of a car without a license and $3.20 on his debit card.

    "I'm very frustrated with living check to check! Why can't I turn myself successful?"

    You've taken part in those types of thoughts, am I right?

    Your very own success story is going to happen. You need to start believing in YOURSELF.

    UNLOCK YOUR SECRET BRAINPOWER

    ReplyDelete