General discussion

Locked

OPENING & CLOSING PORTS

By ronaldjayr_jover ·
Hi to all,

Just want to ask if I can close and open port via command prompt on windows xp, 2000 prof and server ? If their is an article about this, iam gladly appreciate it. Thanks in an advance.


J @ Y

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Try this

by thedrummer2006 In reply to OPENING & CLOSING PORTS

You can use the netsh command to do all kinds of stuff with ports. For example you can open port 23 using the following command.

netsh firewall set portopening TCP 23 MyPort

If you type netsh from a command prompt and press enter, you can then press a ? enter to display properties of that command. As you can see there are multiple tiers of commands under the netsh command.

Hope this helps!

Back to Security Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums