On Thu, 29 Mar 2001, Richard Adams wrote:

> On Wed, 28 Mar 2001, you wrote:
> > Hi,
> > Yes, it is like apache, except it is my own web server.... but when an
> > incomming request comes in on 192.168.2.1:80, my program does not pick up
> > the connect request.
> > 
> > My program is listening on port 80 on 192.168.1.1

I haven't seen the original post so I have no idea what the context
is..  But just from looking at the above, you seem to have answered your
own question.  if your program is listening on a socket bound to
192.168.1.1:80 instead of *:80 it's never going to see any connect
attempts to anything other than 192.168.1.1.. try binding to INADDR_ANY if
you aren't doing so already.

-T

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to