Problem in accessing 9091 port from vb.net application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vijayB
    New Member
    • Mar 2008
    • 40

    Problem in accessing 9091 port from vb.net application

    Hello Friends,
    I am writting an application in vb.net remoting, in which I m using TCP port number 9091. When I install server part on Win XP and Client part on Win 2K, and switch on the firewall of Win XP. It is not allowing client to connect to the server.

    Please help me, if you have any idea regarding the same.
    Regards,
    Jay
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    That's what the firewall is supposed to do.
    You probably need to configure exceptions on it.

    Comment

    • vijayB
      New Member
      • Mar 2008
      • 40

      #3
      Originally posted by r035198x
      That's what the firewall is supposed to do.
      You probably need to configure exceptions on it.
      Isn't it possible to change it through codding, bcz my clients are non-technical.
      So It is needed to be done through programming.

      Comment

      • Curtis Rutland
        Recognized Expert Specialist
        • Apr 2008
        • 3264

        #4
        Originally posted by vijayB
        Isn't it possible to change it through codding, bcz my clients are non-technical.
        So It is needed to be done through programming.
        That would be a massive security exploit, if a program could just open ports on your firewall. I don't think you'll be able to do this with code.

        Comment

        • Plater
          Recognized Expert Expert
          • Apr 2007
          • 7872

          #5
          Originally posted by vijayB
          Isn't it possible to change it through codding, bcz my clients are non-technical.
          So It is needed to be done through programming.
          Once again I find myself calling into question your integrity on this matter.

          Comment

          • vijayB
            New Member
            • Mar 2008
            • 40

            #6
            Originally posted by Plater
            Once again I find myself calling into question your integrity on this matter.
            Please, there is nothing wrong intension behind this. But what I am trying is,
            I have written an app in vb.net remoting. I am making use of port no. 9091 to connect client and server. Now if win firewall is off then everything goes fine, but if we on the firewall, it blocks client from communicating with server.

            This is the general overview of my application.

            Comment

            • vijayB
              New Member
              • Mar 2008
              • 40

              #7
              Originally posted by Plater
              Once again I find myself calling into question your integrity on this matter.
              Can you please suggest me any other port which I can use in my application, which will not be blocked by win firewall ?

              Comment

              • r035198x
                MVP
                • Sep 2006
                • 13225

                #8
                If the user has blocked that port then they do not want your application to access their computer.

                Comment

                • vijayB
                  New Member
                  • Mar 2008
                  • 40

                  #9
                  Originally posted by r035198x
                  If the user has blocked that port then they do not want your application to access their computer.
                  But that user is a part of the application. Client part of my application is installed on the user machine and server part is also installed on any other user machine. Basically, it is an intranet based application designed for the end users only.

                  Comment

                  • Curtis Rutland
                    Recognized Expert Specialist
                    • Apr 2008
                    • 3264

                    #10
                    Originally posted by vijayB
                    Please, there is nothing wrong intension behind this.
                    Yeah, but you've asked other security-related questions like accessing the registry and protected folders without a privileged account. These are dangerous topics.




                    Comment

                    • Plater
                      Recognized Expert Expert
                      • Apr 2007
                      • 7872

                      #11
                      When I have an application that tries to use a port blocked by my firewall I get a pop-up asking if I want to allow it.
                      Shouldn't your users get something similar?

                      Comment

                      • RedSon
                        Recognized Expert Expert
                        • Jan 2007
                        • 4980

                        #12
                        You can change the port number that your application uses, try something in the 30000 - 60000 range.

                        Comment

                        • gits
                          Recognized Expert Moderator Expert
                          • May 2007
                          • 5388

                          #13
                          Originally posted by vijayB
                          But that user is a part of the application. Client part of my application is installed on the user machine and server part is also installed on any other user machine. Basically, it is an intranet based application designed for the end users only.
                          in case it is an intranet-application your IT-departement should be able to control/maintain the firewall for the needs of your application quite easily ... when you rely on this you should even speak with them so that they know what ports are really used in production and they don't cut the connection in case they create new policies or whatever ...

                          kind regards

                          Comment

                          Working...