telnet to newsgroup

Thu Apr 5 17:15:00 GMT 2012

Hello. I read on another list about how one (presumably) Linux user connects
to newsgroups using one of two different methods on the command line. If I
am not mistaken, both use telnet.  The two different commands he used to
illustrate them are these:

You can use STARTTLS on the nntp port (119):

  $ echo -e 'HELP\nQUIT\n' | nc nntp | grep TLS

or you can connect to the nntps port (563):

  $ gnutls-cli --insecure -p nntps | grep 200
  200 InterNetNews NNRP server INN 2.5.1 ready (posting ok)

The second of these is using a program called "gnutls-cli", which is that is
available to cygwin. I have cygwin on my system and I tied using the command
at the Windows command prompt exactly like this:

gnutls-cli --insecure -p nntps | grep 200

It did not work but I got an error back:

 "Cannot resolve servname not supported
for the ai_socktype."

What am I missing in order to make this work?  Thanks.

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list