[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IPv4 localhost network problem



On Tuesday 29 December 2009 15.01.29 jeff d wrote:
> Sent from my coffee machine
> 
> On Dec 29, 2009, at 7:36 AM, martin <martin.juhlin@home.se> wrote:
> > On Tuesday 29 December 2009 14.26.51 jeff dickison wrote:
> >> On Dec 29, 2009, at 7:07 AM, martin <martin.juhlin@home.se> wrote:
> >>> Hi,
> >>>
> >>> I have problem with IPv4 on my local network. Applications that is
> >>> trying to
> >>> connect to localhost with IPv4 gets “connection refused”. I have
> >>> constructed a
> >>> simple Java program that is triggering the problem. The program
> >>> simple just
> >>> N
> >>
> >> Hi Martin,
> >> What's the output of:
> >> sudo lsof -i:7000
> >
> > The output is as following:
> >
> > $ sudo lsof -i:7000
> > COMMAND  PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
> > java    6130 martin    4u  IPv6  66197      0t0  TCP *:afs3-
> > fileserver(LISTEN)
> > $
> >
> >   Martin
> 
> So, this shows us its only listening on ipv6 and not on ipv4.  Just a
> guess, but I would suspect that there might be an issue with the java
> app.  Are you seeing this issue with other apps?
> 

yes, ktorrent performs poorly. it also just listen on one port. After changed 
"net.ipv6.bindv6only = 0" the is a lot more connections open.

   Martin


Reply to: