Announcement

Collapse
No announcement yet.

Port Query on win2k8 server

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Port Query on win2k8 server

    hi guys, just downloaded the portqry tool from MS site. tried to check port 3389 on windows server 2008.

    using this command: portqry -local -l logfile.txt -v. Output is port 3389 is "listening".

    So it means that port 3389 is open for local connection.

    But does it mean also that the port is listening for remote connections? or how to use portqry to check for ports that is listening for remote connections?

    thanks for any ideas.

  • #2
    Re: Port Query on win2k8 server

    If I understood right what you're asking, you want to know not only that a port is open ("Listening") but also what process opened it, isn't it?
    PortQRY cannot tell you that. It only returns three values: Listening, Not Listening or Filtered. Nothing else.
    Is this process one fully automatic? Or is some human interaction to be expected?
    Either way, you can use Daniel's article Quickly Find Local Open Ports. If you want the process fully automatic, you will need some extra scripting ...

    Sorin Solomon


    In order to succeed, your desire for success should be greater than your fear of failure.
    -

    Comment


    • #3
      Re: Port Query on win2k8 server

      Use netstat -anb to check what process listens to the port and check the application settings too.

      -vP

      Comment


      • #4
        Re: Port Query on win2k8 server

        it just means it's listening.

        So, as long as no firewalls are blocking it, it'll work locally or remotely.
        Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

        Comment

        Working...
        X