On Wed, 2002-08-21 at 10:29, Jayson Hill wrote: > I don't know if this is the correct forum for this question, so if not > perhaps someone could point me to the right spot. Anyway, I am trying to > run a connection-oriented client program on RedHat 7.2. The client IP is > 192.168.254.87 and I can ping it from the server, and can ping the > server from the terminal, as well as connect to it through telnet. > However, when I try and connect() to the terminal, I get a connection > refused with errno set to ECONNREFUSED. Upon reading the man page for > connect() I see that ECONNREFUSED means "no one is listening on the > remote address". If I can ping, why can I not connect() ?
There needs to be a process listening on the port to which you are connecting that speaks the protocol you are connecting with. What program are you trying to talk to? What port? Could it be a firewalling issue for the port you are connecting to? Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list