Blocking a TCP/IP connection - TechRepublic
General discussion
April 18, 2001 at 03:22 PM
blerg

Blocking a TCP/IP connection

by blerg . Updated 25 years, 2 months ago

Ok, I’m gonna throw this question out, and all input is welcome, even if it points out that I’m missing the obvious. 😉

For whatever reason, I suspect an unwelcome connection to my machine while online. From the command prompt, I type “netstat” to see the list of active connections, and I find one I can’t account for; for instance:

proto local address foreign address
TCP my_machine:123 123.45.67.89:456

Is there a way I can block just that one connection? Or to close just port 123 on the local machine? I’d like a way to do this from the command prompt, but any way to accomplish the task would interest me.

Jim Peterson
JKP@att.net

This discussion is locked

All Comments