IP & PORT

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LeStAt
    Member
    • Oct 2004
    • 1

    #1

    IP & PORT

    how can i get the ISP IP address and port from terminal command
  • TheCotMan
    *****Retired *****
    • May 2004
    • 8857

    #2
    Originally posted by LeStAt
    how can i get the ISP IP address and port from terminal command
    On Windows and *NIX systems is a lovely command called "netstat"
    Google for it, or read your OS help for that command and flags you can use.

    [Added content below here]
    You then locate the connection you want to know about (Src/Dst IP address and Src/Dst port) and you've got what you want.

    Next time be more specific in what you are looking for when you post.
    Last edited by TheCotMan; May 22, 2005, 00:42.

    Comment

    • hackajar
      Contest Goon / Vegas 2.0
      • Jul 2003
      • 1255

      #3
      Originally posted by LeStAt
      how can i get the ISP IP address and port from terminal command
      Do you mean the one the assiged you (ignoring port portion of question)

      windows: ipconfig
      *nix: ifconfig
      "Never Underestimate the Power of Stupid People in Large Groups"

      Comment

      • TheCotMan
        *****Retired *****
        • May 2004
        • 8857

        #4
        Originally posted by hackajar
        Do you mean the one the assiged you (ignoring port portion of question)

        windows: ipconfig
        *nix: ifconfig
        There's too much ambiguity in their question.

        Could also be a question about port scanning of a remote host, or a question about how to resolve a hostname and service name to an IP address and port number.

        I wish people could provide enough information in their questions to make it easier to help them.

        Comment

        • MasterWD
          Member
          • Apr 2005
          • 4

          #5
          I believe he is asking about the "netstat" command.

          It shows all of the addresses you are currently connected to, and all of the corresponding ports.

          Comment

          • TheCotMan
            *****Retired *****
            • May 2004
            • 8857

            #6
            Originally posted by MasterWD
            I believe he is asking about the "netstat" command.

            It shows all of the addresses you are currently connected to, and all of the corresponding ports.
            /me acts like a smartass
            I wish I would have thought of that in my first post in this thread! :-P

            heh-heh hrm oh yeah!

            Comment

            • hackajar
              Contest Goon / Vegas 2.0
              • Jul 2003
              • 1255

              #7
              /me starts wistling and casually slips away around corner
              "Never Underestimate the Power of Stupid People in Large Groups"

              Comment

              • Gadsden
                Goon
                • Jul 2002
                • 1241

                #8
                Originally posted by LeStAt
                how can i get the ISP IP address and port from terminal command
                ;begin rant
                Fucking shit!! What is this.. n00bie help forum?!? Either use a fucking search engine, or read a book. It probably took you longer to register on the site and post than it would have taken for you to figure it out for yourself...
                ;end rant
                Happiness is a belt-fed weapon.

                Comment

                • astcell
                  Human Rights Issuer
                  • Oct 2001
                  • 7512

                  #9
                  http://www.whatismyip.com/

                  Comment

                  Working...