Web Analytics Made Easy -
StatCounter Open or closed port?? - CodingForum

Announcement

Collapse
No announcement yet.

Open or closed port??

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

  • Open or closed port??

    I would just like to know if there is a way to check if a particular port is open or closed using javascript? Im having a heck of a tuime! Any help would be appreciated! Thanks!
    Matt Sartain
    Internet Solutions Developer
    - Zonecom Communications

  • #2
    Not possible with JavaScript. You will have to use a server side language for that.

    Comment


    • #3
      Any suggestions on what to use? I looked at php and it seemed alright but I thought there was a way with javascript!
      Matt Sartain
      Internet Solutions Developer
      - Zonecom Communications

      Comment


      • #4
        how many times are you going to ask this question???



        Learn to search Google!!
        Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

        Comment


        • #5
          thanks for the help smartass! I have searched google, but to no avail. I was hoping any guru's on here would be able to help! Thanks for your time
          Matt Sartain
          Internet Solutions Developer
          - Zonecom Communications

          Comment


          • #6
            First off you are wasting people's times by starting multiple threads on the same subject......

            Plus why would you want to do this? You have to give people a reason to give you code that can be used for harm....
            Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

            Comment


            • #7
              Sorry. Its definitely not for harm. I just want to run a simple test(I have an internet music player) and I want to test if the user is behind a firewall to minimize troubleshooting so it can tell them right away that the firewall and/or port is stopping them from accessing the audio files.

              Thats all, no harm or misuse is used, just a simple test.
              Matt Sartain
              Internet Solutions Developer
              - Zonecom Communications

              Comment


              • #8
                What languages can you use on your server?
                Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

                Comment


                • #9
                  Anything, if we dont have it, we can install it...
                  Matt Sartain
                  Internet Solutions Developer
                  - Zonecom Communications

                  Comment


                  • #10
                    It doesn't matter what he's got on the HOST side, it's the client side he's trying to scope out. No code on the server is going to be of much help.

                    Javascript isn't going to get him any results either, it's built in limitations make sure it can't be used in that fashion.

                    The only hope he has is that a Java application can be found/written to perform the checks he wants. He needs to find a good Java coding forum that deals with clients-side java code (not a popular subject these days).

                    An ActiveX control could also work but then you're limited to IE users only, for Internet applications that's not a real option but I thought I'd mention it.
                    Check out the Forum Search. It's the short path to getting great results from this forum.

                    Comment


                    • #11
                      Thanks for the suggestions Roy!
                      Matt Sartain
                      Internet Solutions Developer
                      - Zonecom Communications

                      Comment

                      Working...
                      X