[HPADM] SUMMARY: Address Already In Use

From: Stocker, Nick (Nick.Stocker_at_logicacmg.com)
Date: 07/14/05

  • Next message: marc thoelen: "[HPADM] Systemdisk-configuration"
    To: "HPadmin (E-mail)" <hpux-admin@dutchworks.nl>
    Date: Thu, 14 Jul 2005 11:03:16 +0100
    
    
    
    ('binary' encoding is not supported, stored as-is)

    Thanks to the many who helped me on this - just about everyone said to use
    'lsof' which turns out is a very useful utility downloadable from the
    web....
     
    'lsof' told me what process is hanging onto that port so all I have to do
    now is kill it off.
     
    I won't forget this one!
     
    Cheers all and thanks for being so prompt!
    Nick.
     

    ORIGINAL MESSAGE:
     
    I have a problem where I can't start an application up which attempts to
    bind to a particular port.
     
    It usually works fine but now it's saying "Address already in use" after the
    bind (i.e.the bind () function call is returning the error EADDRINUSE).
     
    The strange thing is I can't see any process holding onto this port, i.e.
     
    > netstat -a | grep 2700
                        udp 0 0 *.2700
     
    I am thinking I'm going to have to schedule a reboot but wondered if anyone
    out there has any ideas first.
     

    This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

    
    

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

    Notebook.jpg
  • Next message: marc thoelen: "[HPADM] Systemdisk-configuration"

    Relevant Pages

    • Re: socket of port 0
      ... Binding to port 0 is impossible by definition: port 0 isn't allowed by TCP ... L> lsof seems more powerful, as pfiles often fails to report fd usage, ... explicit bind() with INADDR_ANY as address. ...
      (comp.unix.programmer)
    • 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)
    • 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 IP ... port numbers. ...
      (microsoft.public.win32.programmer.networks)
    • Re: How to listen to more a specific IP and specific ports
      ... bind my socket to specific unlimited and selective IP addresses. ... port numbers. ... is not feasible because the particular IPs are not fixed. ...
      (microsoft.public.win32.programmer.networks)