Go Back   AnandTech Forums > Software > Operating Systems

Forums
· Hardware and Technology
· CPUs and Overclocking
· Motherboards
· Video Cards and Graphics
· Memory and Storage
· Power Supplies
· Cases & Cooling
· SFF, Notebooks, Pre-Built/Barebones PCs
· Networking
· Peripherals
· General Hardware
· Highly Technical
· Computer Help
· Home Theater PCs
· Consumer Electronics
· Digital and Video Cameras
· Mobile Devices & Gadgets
· Audio/Video & Home Theater
· Software
· Software for Windows
· All Things Apple
· *nix Software
· Operating Systems
· Programming
· PC Gaming
· Console Gaming
· Distributed Computing
· Security
· Social
· Off Topic
· Politics and News
· Discussion Club
· Love and Relationships
· The Garage
· Health and Fitness
· Merchandise and Shopping
· For Sale/Trade
· Hot Deals
· Free Stuff
· Contests and Sweepstakes
· Black Friday 2013
· Forum Issues
· Technical Forum Issues
· Personal Forum Issues
· Suggestion Box
· Moderator Resources
· Moderator Discussions
   

Reply
 
Thread Tools
Old 03-14-2004, 11:12 AM   #1
FreshPrince
Diamond Member
 
FreshPrince's Avatar
 
Join Date: Dec 2001
Posts: 8,363
Default How to manually close a tcp/udp port in XP?

Does anyone how how to close a port manually in XP?

there's got to be a command line command that does this.

thx!

-FP
__________________
PillowHeadClub,*ˮ, XPS M1730
FreshPrince is offline   Reply With Quote
Old 03-14-2004, 12:09 PM   #2
Nothinman
Elite Member
 
Nothinman's Avatar
 
Join Date: Sep 2001
Posts: 30,672
Default RE: How to manually close a tcp/udp port in XP?

You can't, you might be able to find something to inject a RST packet into a TCP stream which will make the remote end think your end closed the port but that will most likely really confuse the local end. Ideally you just need to find out what app has the port open and kill that.

And UDP is connectionless so there's no equivalent to an RST packet.
__________________
http://www.debian.org
Nothinman is offline   Reply With Quote
Old 03-14-2004, 01:33 PM   #3
PrincessGuard
Golden Member
 
Join Date: Feb 2001
Posts: 1,435
Default RE: How to manually close a tcp/udp port in XP?

http://www.sysinternals.com/ntw2k/source/tcpview.shtml
PrincessGuard is offline   Reply With Quote
Old 03-14-2004, 09:59 PM   #4
rbrandon
Banned
 
Join Date: Oct 2002
Posts: 423
Default RE: How to manually close a tcp/udp port in XP?

rbrandon is offline   Reply With Quote
Old 03-15-2004, 11:27 AM   #5
spyordie007
Diamond Member
 
Join Date: May 2001
Posts: 6,229
Default RE: How to manually close a tcp/udp port in XP?

run the built-in firewall

If there is an application that is opening a port the best way to close the port is by means of that application, if it doesnt give you the option (which most dont) your best route is simply going to be to remove access to that port (firewalling it off).
__________________
Microsoft Certified Master: Exchange 2007, MCSE: M 2003, MCITP (x2), Windows Server MVP, CCNA

SpyorDie007's Tech Blog | 10 Immutable Laws of Security

This post is provided "AS IS", without warranty, expressed or implied.
spyordie007 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:24 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.