lkml.org 
[lkml]   [1996]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Continuing trouble with localhost ports


On Wed, 13 Mar 1996, Snow Cat wrote:

> Colten Edwards once wrote:
> >
> >
> > Just compiled .73 and anxiously rebooted to see if localhost port trouble
> > had been solved. No. Damn. This problem has been here since .59 kernel
> > and someone who knows networking should have a look. (no i am not that
> > person). localhost irc server no-one on the local system can connect
>
> Can you strace ircd and verify that it really binds to INADDR_ANY, not
> just to host's IP address? Other daemons seam to work fine.
>

time(NULL) = 826832477
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 7
bind(7, {sin_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("192.0.2.1")}, 16) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(7, SOL_SOCKET, SO_RCVBUF, [8192], 4) = 0
setsockopt(7, SOL_SOCKET, SO_SNDBUF, [8192], 4) = 0

What's weird about this is that two servers on the same localhost can
connect to one another. It's just the clients that cannot.

Colten Edwards



\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.085 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site