Finding UDP Port Usage...

From: Michael (michaeln_at_twentyten.org)
Date: 10/27/03


Date: Mon, 27 Oct 2003 07:55:15 -0800

I have a problem here.... I have this custom program that listens on
21050/UDP. The problem is that now and then, the program will say that that
port is already bound and that the service can't bind to it. I tried
looking for an open file related to it, but I can find nothing.

lsof -ni UDP:21050

I also tried binding another program (BIND) to that port and that program
also comes back with the same error. How do I find out what's "hanging on"
to this port? How do I fix it without rebooting the server?

Michael



Relevant Pages

  • Re: Finding UDP Port Usage...
    ... I have this custom program that listens on ... > port is already bound and that the service can't bind to it. ...
    (comp.os.linux.misc)
  • Re: Services listening on all ports?
    ... IIS by default listens on all IP Addresses on the machine. ... bind to all IP addresses or you can not. ... the same Port. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Finding UDP Port Usage...
    ... I have this custom program that listens on ... > port is already bound and that the service can't bind to it. ...
    (comp.os.linux.misc)
  • Re: How to listen to more a specific IP and specific ports
    ... bind my socket to specific unlimited and selective IP addresses. ... Moreover, in Unix/Linux Berekly network programming, you can determin the ... port numbers. ...
    (microsoft.public.win32.programmer.networks)
  • Re: How to listen to more a specific IP and specific ports
    ... I have read this long time ago in the textbook Unix Network Programming ... service and connect our socket to INADDR_ANY and then listen for incoming ... Its clear to me on how to bind with ... port numbers. ...
    (microsoft.public.win32.programmer.networks)