Microsoft KB Archive/308162

= How To Set Up and Configure an NNTP Virtual Server in Windows 2000 =

Article ID: 308162

Article Last Modified on 9/12/2007

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Small Business Server 2000 Standard Edition
 * Microsoft Windows 2000 Server

-



This article was previously published under Q308162





IN THIS TASK
 SUMMARY

Install Internet Information Services and Microsoft NNTP ServiceConfigure the NNTP Virtual Server

Assign an IP AddressSet the Authentication MethodConfigure the Virtual Directory Settings

Troubleshooting

Check Event ViewerUse the Ping Utility to Verify Network ConnectivityUse Telnet to Verify That Microsoft NNTP Service Is Accepting Connections

 REFERENCES



SUMMARY
This article provides step-by-step instructions for setting up a Network News Transfer Protocol (NNTP) server on a Windows 2000 Server-based computer.

Microsoft NNTP Service implements NNTP, with which you can create newsgroups and host discussion groups on a server. By using any standard news reader client (such as Microsoft Outlook Express), users in your organization can read articles from others who have similar interests, post articles to other users, and participate in conversation threads.

back to the top

Install Internet Information Services and Microsoft NNTP Service
Because Microsoft NNTP Service depends on Microsoft Internet Information Services (IIS), IIS must be installed on your computer. To install IIS and Microsoft NNTP Service, follow these steps:  Click Start, point to Settings, and then click Control Panel. In Control Panel, double-click Add/Remove Programs. Click Add/Remove Windows Components.</li> In the Windows Components Wizard, click Internet Information Services (IIS), and then click Details.</li> Click to select the following check boxes:

Common Files

Documentation

Internet Information Services Snap-In

Internet Services Manager (HTML)

NNTP Service

World Wide Web Server

</li> Click OK, and then on the Windows Components page, click Next.</li> On the Completing the Windows Components Wizard page, click Finish.</li> In the Add/Remove Programs dialog box, click Close.</li></ol>

IIS and the NNTP service are now installed.

back to the top

Configure the NNTP Virtual Server
The NNTP virtual server that is created when you install Microsoft NNTP Service is automatically configured with default settings that enable it to accept local client connections. You can either accept the default settings or change the NNTP virtual server configuration. There are many options available for you to configure the NNTP virtual server to meet your needs.

This section explains how to configure the following three (required) options:
 * Assign an Internet Protocol (IP) address
 * Set the Authentication method
 * Configure the Virtual Directory settings

back to the top

Assign an IP Address
To assign an IP address to your NNTP virtual server, follow these steps:
 * 1) Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager. Or, open the Microsoft Management Console (MMC) that contains the IIS snap-in.
 * 2) In the console tree, right-click Default NNTP Virtual Server, and then click Properties.
 * 3) In the Default NNTP Virtual Server Properties dialog box, click the General tab.
 * 4) * If you want the NNTP virtual server to respond to connection requests for all IP addresses configured on the computer, click (All Unassigned).

This is the default setting.
 * 1) * If you want to assign a specific IP address to the NNTP virtual server, click the IP address that you want to assign in the IP address box.
 * 2) * If you want to assign additional IP addresses to the virtual server, click Advanced, and then click Add. In the Identification dialog box, specify the IP address and Transmission Control Protocol (TCP) and Secure Sockets Layer (SSL) port numbers. Note that the default TCP port is 119, and the default SSL port is 563. Click OK twice to return to the Default NNTP Virtual Server Properties dialog box.
 * 3) Click OK to return to the Internet Information Services window.

The NNTP virtual server is now configured to accept connection requests from the IP address assigned to it.

back to the top

Set the Authentication Method
To specify the authentication methods that you want to set on the NNTP virtual server, follow these steps: <ol> Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager. Or, open the MMC containing the IIS snap-in.</li> In the console tree, right-click Default NNTP Virtual Server, and then click Properties.</li> In the Default NNTP Virtual Server Properties dialog box, click the Access tab.</li> Under Access control, click Authentication.</li> Specify the authentication method (or methods) that you want.

Click to select one or more of the following check boxes, and then click OK:

Allow anonymous

Basic authentication

Windows security package

Internet Services Manager

Enable SSL client authentication

NOTE: If you do not want to restrict access to a newsgroup, click to select the Allow anonymous check box to enable anonymous access. In addition, do not set any Windows 2000 Server folder permissions for the folder that contains the newsgroup.

</li> Click OK twice to return to the Internet Information Services window.</li></ol>

The authentication method (or methods) that you specified are now configured for the NNTP virtual server.

back to the top

Configure the Virtual Directory Settings
A virtual directory is a folder on a local or remote drive that stores newsgroup content. Each virtual directory represents a level of your newsgroup hierarchy. You can create as many virtual directories as needed to match the structure of your newsgroup hierarchy.

When an NNTP Virtual Server is created, two virtual directories, Control and Default, are created by default. The Control virtual directory stores all control processing content, and the Default directory stores newsgroup and article content.

To configure the virtual directory settings, follow these steps:
 * 1) Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager. Or, open the custom MMC containing the IIS snap-in.
 * 2) In the console tree, double-click Default NNTP Virtual Server to expand the container.
 * 3) Click Virtual Directories.
 * 4) In the Newsgroup Subtree pane, right-click the directory that you want (for example, Default), and then click Properties.
 * 5) Under Virtual Directory Properties, click Contents. In the Directory Contents dialog box, specify the storage location that you want for the virtual directory's contents, and then click OK.

The default location for the home directory is Inetpub\Nntpfile\root. NOTE:


 * 1) * If you want to allow news clients to post articles to newsgroups in this directory, click to select the Allow posting check box under Access restrictions.
 * 2) * To generate an access log for this directory in the IIS access log, click to select the Log access check box under Content control.

NOTE: To turn on logging, you must also click to select the Enable logging check box on the General tab of the NNTP virtual server Properties dialog box. (In the console tree, right-click your virtual server, click Properties, and then click the General tab).
 * 1) * To index the contents of the directory by using Microsoft Indexing Service, click to select the Index news content check box. By doing this, users can query the newsgroup articles for specific words or phrases.
 * 2) Click OK to return to the Internet Information Services window.

The NNTP virtual server is now configured with the settings that you specified, and is ready to accept incoming requests from NNTP clients. After you define the newsgroup hierarchy structure and then create newsgroups, users can post articles to, and view the articles in, those newsgroups.

back to the top

Troubleshooting
When NNTP clients are unable to connect to Microsoft NNTP Service, follow these steps to troubleshoot the issue.

Check Event Viewer
Check the Windows NT Event Viewer System log for NNTP Service-related error messages. Each time Microsoft NNTP service starts, stops, processes a command, or detects an error, an event is recorded in the System log.
 * 1) Click Start, point to Programs, point to Administrative Tools, and then click Event Viewer.
 * 2) In the console tree, click System Log.
 * 3) In the details pane, click the event that you want, and then click Properties on the Action menu to view more details about the event.

back to the top

Use the Ping Utility to Verify Network Connectivity
Use the Ping utility (Ping.exe) to verify network connectivity to Microsoft NNTP Service: <ol> Click Start, point to Programs, point to Accessories, and then click Command Prompt.</li>  At the command prompt, type the following, where  is the Domain Name Service (DNS) name of the Windows 2000 Server-based computer on which the NNTP Service is running:

ping

If you are able to establish a network connection, you receive a response similar to the following: <pre class="fixed_text">  Pinging with [192.168.888.888] with 32 bytes of data:

Reply from 192.168.888.888: bytes=32 time=70ms TTL=121 Reply from 192.168.888.888: bytes=32 time=70ms TTL=121 Reply from 192.168.888.888: bytes=32 time=70ms TTL=121 Reply from 192.168.888.888: bytes=32 time=70ms TTL=121 If you are unable to establish a network connection, you receive a response similar to the following: <pre class="fixed_text">  Unknown host </li> At the command prompt, type the following, where  is the IP address of the Windows 2000 Server-based computer on which Microsoft NNTP Service is running:

ping

If you are able to establish a network connection when you use the IP address but not when you use the DNS name, investigate DNS issues. For example, verify that the DNS entry for Microsoft NNTP Service is correct, and that the client is configured to use the correct DNS name.

If you are unable to establish a network connection, the issue is likely network-related. Investigate possible network connectivity issues.</li></ol>

back to the top

Use Telnet to Verify That Microsoft NNTP Service Is Accepting Connections
Use Telnet (Telnet.exe) to verify that Microsoft NNTP Service is accepting connections and is correctly responding to NNTP commands. By doing this, you can determine whether the issue is related to the client or the service. <ol> Click Start, and then click Run.</li> In the Open box, type telnet, and then click OK.</li> <li>At the command prompt in the Telnet window, type the following lines, pressing ENTER after each line, where  or   is the DNS name or the IP address of the Windows 2000 Server-based computer running Microsoft NNTP Service, and   is the NNTP TCP port:

set local_echo

open  or

Note that the default NNTP TCP port is 119.

<ul> <li> If the service accepts the connection, you receive a message similar to the following: <pre class="fixed_text">  200 NNTP Service 5.00.0984 Version: 5.0.2195.2966 Posting Allowed At the command prompt, type list, and then press ENTER.

A list of available newsgroups is displayed if the service responds correctly to the NNTP command.

If you can connect and run the list command, this is probably a client-related issue.

</li> <li>If the service does not accept the connection, you may receive any of the following error messages:

Could not open a connection to host on port : Connect failed.

This indicates that the NNTP Service may not be running or is not accepting connections.

502 Connection refused

This indicates that the NNTP Service is paused or the connection limit has been reached.

480 Logon Required

This indicates that the NNTP Service does not allow anonymous access.

If you cannot connect and you receive any of these messages, this is probably a service-related issue. Verify that the service is running, and then check Microsoft NNTP Service configuration settings.</li></ul> </li></ol>

For additional information about troubleshooting Microsoft NNTP Service issues, click the article number below to view the article in the Microsoft Knowledge Base:

286421 How To Test Windows 2000 IIS SMTP Services Manually

back to the top