TCP/UDP Port Operations

By winthrop.polk ·
I know how to view a list of open ports by typing "netstat ?a" in the command prompt. How do I setup ports (i.e. manually open and close permently, open only when needed then close , etc). I have to harden a variety of servers and clients. How do I do the same thing for services and processes.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Use a firewall

by Nimmo In reply to TCP/UDP Port Operations

and for services and processes you can use things like group policies and scripts.

Collapse -

after to remember that services and processes are code

by CG IT In reply to TCP/UDP Port Operations

and the application writer is supposed to code that in.. often they forget to write in after the application opens the port to close it when done.

So the first poster is correct. Use a firewall which closes all ports unless specifically opened or specifically allowed. [usually through exceptions].

Collapse -

Interesting but

by winthrop.polk In reply to after to remember that se ...

So the only way to set port operations is to use a firewall? There has to be a way to set up a computer to only allow certain ports under certain conditions without one, or so i thaught.

Related Discussions

Related Forums