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
4 replies to this topic

#1 king000

king000

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:01:38 AM

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 AdBot (Login to Remove)

 


#2 USN Vet

USN Vet

  • Members
  • 190 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:38 AM

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


  • Members
  • 21,868 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:06:38 AM

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

  • Members
  • 4 posts
  • OFFLINE
  •  
  • Local time:01:38 AM

Posted 05 April 2012 - 12:32 PM

netstat -a -o -n


#5 filipo603

filipo603

  • Members
  • 28 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:38 AM

Posted 27 August 2013 - 07:23 AM

netstat -a -o -n

That's correct.Good old DOS


May Computer Be With You! :luke: 

 

 

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users