Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Find Server Port  (Read 4515 times)

0 Members and 1 Guest are viewing this topic.

mateenmohd

    Topic Starter


    Rookie

    Find Server Port
    « on: November 15, 2007, 07:06:54 AM »
    How to find Server Port ?

    what is the command / step?

    ipconfig/all display all ip information of server.
    by which command we can find the Server Port ?

    normally server port running on 8080
    how can confirmed that server port running on port 8080 ?

    Thanks and regards
    Mateen

    Deerpark



      Egghead
    • Thanked: 1
      Re: Find Server Port
      « Reply #1 on: November 15, 2007, 04:14:24 PM »
      Code: [Select]
      netstat -a -n will list all currently open ports. If your server application is running the port it uses should be listed here.
      Any sufficiently advanced technology is indistinguishable from magic.
      Arthur C. Clarke (1917 - 2008)

      phoenix910



        Hopeful

        Thanked: 2
        Re: Find Server Port
        « Reply #2 on: November 15, 2007, 11:15:37 PM »
        And if for some odd reason that doesn't work, you can scan the server either remotely or locally with Nmap.

        -Stephen

        mateenmohd

          Topic Starter


          Rookie

          Re: Find Server Port
          « Reply #3 on: November 17, 2007, 09:05:33 PM »
          Thanks for response.

          How can list the server port ? what is the command / steps ?

          How can scan the server with Nmap ? Nmap is command ?
          I run this command at rum prompt, it is not working

          regards
          Mateen

          phoenix910



            Hopeful

            Thanked: 2
            Re: Find Server Port
            « Reply #4 on: November 17, 2007, 09:11:44 PM »
            Are you on Linux or windows? If you let me know I can give you detailed install and run instructions for either OS.
            However, if you have already installed Nmap, use this command:

            nmap -sS -P0 -O 10.1.1.1


            Replace 10.1.1.1 with the server IP. This will give you a list of all the open ports, as well as the Operating System on the Server, and this is the quickest but effective way of doing it. The -P0 is a zero, not the letter 'O', whereas the -O before the 10.1.1.1 is a letter in the alphabet. This command can be run either from the server, or from a remote host.

            -Stephen

            mateenmohd

              Topic Starter


              Rookie

              Re: Find Server Port
              « Reply #5 on: November 18, 2007, 09:25:28 PM »
              Thanks for you respnse.

              Our server is Window 2003  R2, and client computer are window vista.

              regards
              Mateen

              phoenix910



                Hopeful

                Thanked: 2
                Re: Find Server Port
                « Reply #6 on: November 18, 2007, 10:44:30 PM »
                Ok, you will need to download and install
                http://download.insecure.org/nmap/dist/nmap-4.23RC1-setup.exe

                Then it should install a shortcut to your desktop. Then it's a matter of double clicking on that shortcut, and either choosing a pre-defined scan, or making your own with the options I previously stated. Any trouble, give me a yell (by the way, nmap is a lot faster on the command line in Linux, but this still works). This nmap install file will also install Winpcap, which is needed for this and packet sniffing.

                -Stephen