Question Locked

TCP/UDP Port Operations

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
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.

4 replies

by nimmo

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

by cg it

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].

by winthrop.polk

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.

This discussion is closed to new replies.