Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Ports & Windows

  1. #1
    Junior Member
    Join Date
    Nov 2001
    Posts
    1

    Ports & Windows

    Just curious....

    Within a Windows environment (98/Me/2000/XP), is there a command that can be run in the consol that can close open ports on my machine?

    i.e. if I run netstat -a and see 4380 open and I'm not certain if it's legit - can I manually close that port from a command line?

  2. #2

    Exclamation Firewall

    I'm not sure if there is or not but if you have a firewall it will tell you what ports and services are runing on your box.

    Remote_Access_

  3. #3
    That's a very good question. I've never even thought about how to close ports manually. I've always used a handy little program called proport that monitors my ports and gives an option of closing them manually. If you're interested you can download it here...


    I'd be very interested to see if you can close ports from a command prompt...

  4. #4
    I don't know of any way to accomplish what you are talking about - but if your not already, you should be running some sort of Firewall (either hardware or software). Something like Zone Alarm would do fine - that way, the firewall will bring to your attention any programs that are trying to access remote sites or gain access to your machine. Then you'll have the option of blocking that program. But like I said, I don't know of any way to 'manually' close those ports.
    - Maverick

  5. #5
    Old-Fogey:Addicts founder Terr's Avatar
    Join Date
    Aug 2001
    Location
    Seattle, WA
    Posts
    2,007
    AFAIK, no, there is not built-in commands or anything you can do, you have to write/get a program to do it for you, there aren't any Dos commands for it.

    What you CAN do is shut down the running program that controls the port, then the port will close. But, if the program won't show up in the control-alt-delete list, then, again, you need a program to intercede for you.
    [HvC]Terr: L33T Technical Proficiency

  6. #6
    Senior Member
    Join Date
    Nov 2001
    Posts
    742
    In NT and 2000 there is a function called "IP security" settings (under TCP/IP settings) were you can allow or disallow ports..

    This is a real basic packet filter, I have used it to lock down computers but always as a first defence and even if using this port blocking feature I would recomend a firewall.

    XP has a simple firewall function aswell, still I would recomend to use better thirdparty softwares as ZA or other personal firewalls.

    About to lock down ports manually from the command line!? Nope I have never heard or used such a command.. And it would maybe be a nice feature but I would still recomend a firewall and a good security policy to achive protection.

  7. #7
    Junior Member
    Join Date
    Dec 2001
    Posts
    11
    In Win you cannot close the ports manually yiu have to use some program to close it like a firewall. You can use for example ZoneAlarm but i didnĀ“t like it. If you want to prevent a enter in your computer yu can install BlackIce that show possible intrusion on your computer. To see what kind of ports you can put netstat -an to see what ports have you open. You can search in a seracher port-blocker for close your open ports. Bye
    Hide your face forever
    dream and search forever
    night and night you feel nothing
    there\'s no way outside of my land

    Open your eyes, open your mind ...



  8. #8
    Senior Member
    Join Date
    Jan 2002
    Posts
    458
    The key here is shutting down things you do not need. Just pressing ctrl+alt+delete will not do the trick, because services do not show up there. What you have to do is go to serices under the Administration tools menu or control panel (depending on the windows version) and stop any unnecessary services. If there is a service you need, like NetBIOS if you are doing file sharing on your LAN, then you must look at getting some kind of firewall.

  9. #9
    Another suggestion (assuming you have a multiple PC LAN setup) is to install a second NIC. That way you have one ethernet interface with your internal network for file/print sharing and the other one for the internet at large. Unbind everything from the NIC directly connected to your internet connection (ie, cable, dsl, etc...) except for TCP/IP. Of course, if you don't have multiple PCs using a single internet connection, nevermind....

    ...And naturally, always use a firewall.
    \"Only two things are infinite, the universe and human stupidity, and I\'m not sure about the former.\" -- Albert Einstein

  10. #10
    Junior Member
    Join Date
    Oct 2001
    Posts
    18

    Cool Help???

    HI. I am running win2k PRO, with Blackice server as my firewall, i have tryed a few ideas to try to close some of my open PORTS..... First i set the blackice firewall to "paranoid" to block all incomming connections, but when i run (cmd) "netstat -an" i keep getting ports "listening" and when i am using MORPHEUS people can still connect to download, (i know i can disable file sharing but im just testing the results) Second i tryed to use the IPFiltering feature in "PRO" and filtered all ports but "80" but then again i was still able to use 25 for my mail and 1214 for morpheus and ICQ port. Can anyone clear this issue for me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •