May 2006
Intermediate to advanced
480 pages
12h 20m
English
The NNTP protocol is specified in RFC 977. The NNTP protocol server listens at a well-known port 199/TCP.
Once again, as the NNTP protocol commands are in ASCII, it is possible to use the Telnet program (for example, from Windows 2000/XP) to communicate with the news server:
C:\WINNT>telnet news.provider.com 119
After a connection is established, the server will introduce itself as follows:
200 news.provider.com InterNetNews NNRP server INN 2.4.1 ready (posting ok).
The first line of a reply is always a status line indicating how successful we were. The status line begins with a three-digit status code. The three-digit status codes are similar to those in the FTP and HTTP protocols:
100 help text follows 199 debug output 200 server ...
Read now
Unlock full access