Netcat Problems

From: Devon Reed (
Date: 04/26/04

Date: 26 Apr 2004 11:53:47 -0700

Whenever I try to connect to my web server using the following

nc -v XXX.XXX.XXX.XXX 80

I get the following result:

nc: forward host lookup failed: h_errno 11001: HOST_NOT_FOUND

I don't get it. Is netcat trying to lookup an IP address when I've
already supplied one? Also, very very infrequently, the connection
succeeds, so I know that my syntax is correct, but 99% of the time
this is the error message I get. This seems to be the simplest of
netcat commands, and I can't get off of the ground even with this.