Jump to content


 

Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

for experts


  • Please log in to reply
3 replies to this topic

#1 king000

king000

    New Member

  • Members
  • Pip
  • 2 posts

Posted 27 December 2010 - 06:12 PM

i want to close some port by command in dos
for example this port is 4444
what is commands that use in dos to close port (4444)

second request
what is methot to open 4444 port by dos

 

  • BC Ads
  • BleepingComputer.com

#2 USN Vet

USN Vet

    Forum Regular

  • Members
  • PipPipPip
  • 172 posts
  • Gender:Male

Posted 12 May 2011 - 11:33 AM

1)Type

netstat -a -o -n

in command prompt.

2) find the PID number for that port number
3) goto task manager and end process the corresponding PID number.

Read more: http://wiki.answers.com/Q/What_is_the_Dos_command_to_close_an_open_port#ixzz1M9lsDezw
Feel free to ignore my comment, just another user !

#3 cryptodan

cryptodan

    Bleepin Madman

  • Inactive Staff
  • PipPipPipPipPipPip
  • 19,032 posts
  • Gender:Male
  • Location:Catonsville, Md

Posted 12 May 2011 - 03:14 PM

You can also do netstat -aon all at once to do the same task as the above.

Also have a read here: Configuring Windows Firewall via Command Line?

Edited by cryptodan, 12 May 2011 - 03:16 PM.


#4 muhuwj201

muhuwj201

    New Member

  • Members
  • Pip
  • 4 posts

Posted 05 April 2012 - 12:32 PM

netstat -a -o -n





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users