Go Back   AnandTech Forums > Software > Operating Systems

· Hardware and Technology
· CPUs and Overclocking
· Motherboards
· Video Cards and Graphics
· AMD Video Cards
· Nvidia
· Displays
· 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
· Home and Garden
· Merchandise and Shopping
· For Sale/Trade
· Hot Deals with Free Stuff/Contests
· Black Friday 2014
· Forum Issues
· Technical Forum Issues
· Personal Forum Issues
· Suggestion Box
· Moderator Resources
· Moderator Discussions

Thread Tools
Old 03-14-2004, 12:12 PM   #1
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.


PillowHeadClub,*ˮ, XPS M1730
FreshPrince is offline   Reply With Quote
Old 03-14-2004, 01:09 PM   #2
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.
Nothinman is offline   Reply With Quote
Old 03-14-2004, 02:33 PM   #3
Golden Member
Join Date: Feb 2001
Posts: 1,435
Default RE: How to manually close a tcp/udp port in XP?

PrincessGuard is offline   Reply With Quote
Old 03-14-2004, 10:59 PM   #4
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, 12:27 PM   #5
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

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 02:47 PM.

Powered by vBulletin® Version 3.8.8 Alpha 1
Copyright ©2000 - 2015, vBulletin Solutions, Inc.