Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1488204

Re: Address already in use problem

From Neil Horman <nhorman@tuxdriver.com>
Newsgroups linux.kernel
Subject Re: Address already in use problem
Date 2016-09-21 17:50 +0200
Message-ID <sjRWC-2mP-11@gated-at.bofh.it> (permalink)
References <sjQ4p-1aG-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Sep 21, 2016 at 09:44:30PM +0800, Sun Paul wrote:
> Hi
> 
> we have an SCTP application running in JAVA. and we found that there
> is a problem when we as a client trying to connect to a remote IP
> address.
> 
> If the remote IP address is not accessible, our application will keep
> retrying to connect using a self-defined local port address, says
> 51001,
> 
> We found that after sometimes, says 2 hrs, this port 51001 is never
> able to bind to us again. even we tried to restart the application.
> 
Sounds like you have another application that inadvertently bound to that port.
Its not a privlidged port, nor is it well known, so it seems plausible that
another application would eventually bind to it.  Thats not a bug, just the way
ip works.

run netstat -anp | grep 51001

And see what application is holding the port.

Neil

> Is there anyone know how we can resolve this?
> 
> -RBK
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Address already in use problem Sun Paul <paulrbk@gmail.com> - 2016-09-21 15:50 +0200
  Re: Address already in use problem Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> - 2016-09-21 16:10 +0200
    Re: Address already in use problem Sun Paul <paulrbk@gmail.com> - 2016-09-21 16:20 +0200
      Re: Address already in use problem Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> - 2016-09-21 16:30 +0200
        Re: Address already in use problem Xin Long <lucien.xin@gmail.com> - 2016-09-21 19:30 +0200
  Re: Address already in use problem Neil Horman <nhorman@tuxdriver.com> - 2016-09-21 17:50 +0200
    RE: Address already in use problem David Laight <David.Laight@ACULAB.COM> - 2016-09-21 18:00 +0200
      Re: Address already in use problem Neil Horman <nhorman@tuxdriver.com> - 2016-09-21 18:20 +0200

csiph-web