5 Replies Latest reply on Dec 14, 2016 4:59 AM by FGT

    Port 5683

    Blasi

      Hi,

       

      I have a Galileo Gen 2 board. I want to write an aplication that communicates using the COAP protocol in C. I am seeing that port udp 5683, supposedly the well known port for this protocol, is taken by some process I cannot identify. I have succesfully communicated using other ports. How can I set the port free? How can I know what is running there? Can it be disabled?

       

      thanks,

       

        Jordi

        • 1. Re: Port 5683
          FGT

          Hi Jordi,

           

          I have a Galileo Gen 2 board. I want to write an aplication that communicates using the COAP protocol in C. I am seeing that port udp 5683, supposedly the well known port for this protocol, is taken by some process I cannot identify.

          How do you know the port "is taken"? What are you using to know it?

           

          How can I set the port free? How can I know what is running there? Can it be disabled?

          What do you mean by "disabled" (a port cannot be "disabled")?

           

          Fernando.

          • 2. Re: Port 5683
            Blasi

            When I run "netstat -a" on the command line I see this:

             

            Proto Recv-Q Send-Q Local Address           Foreign Address         State

            ....

            udp      704      0 0.0.0.0:5683            0.0.0.0:*

            ...

             

            When I say disable, I mean the process that is listening on the port, not the actual port. What I want to find is a way to identify who is listening on that port, so I can get my aplication there.

             

            Thanks,

             

               Jordi

            • 3. Re: Port 5683
              FGT

              Blasi wrote:

               

              When I run "netstat -a" on the command line I see this:

               

              Proto Recv-Q Send-Q Local Address Foreign Address State

              ....

              udp 704 0 0.0.0.0:5683 0.0.0.0:*

              ...

               

              When I say disable, I mean the process that is listening on the port, not the actual port. What I want to find is a way to identify who is listening on that port, so I can get my aplication there.

               

              Thanks,

               

              Jordi

              I see... did you try any other netstat option (e.g. -p)? You can see the complete set of options and information netstat is able to provide by using

              man netstat

              (even in a web browser).

               

              HTH,

               

              Fernando.

              • 4. Re: Port 5683
                Blasi

                There is no man installed .

                 

                That worked. Thanks

                • 5. Re: Port 5683
                  FGT

                  There is no man installed .

                   

                  Yes, that's why I wrote

                  "(even in a web browser)."

                   

                  That worked. Thanks

                  You're welcome,

                   

                  Fernando.