Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JJord1
Novice
1,642 Views

Port 5683

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

0 Kudos
5 Replies
FTinetti
Honored Contributor I
102 Views

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.

JJord1
Novice
102 Views

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

FTinetti
Honored Contributor I
102 Views

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.

JJord1
Novice
102 Views

There is no man installed .

That worked. Thanks

FTinetti
Honored Contributor I
102 Views

There is no man installed .

Yes, that's why I wrote

"(even in a web browser)."

That worked. Thanks

You're welcome,

Fernando.

Reply