A description of the ports that you must open in Windows XP Service Pack 2 to enable access to Windows Services for UNIX 3.5

Article translations Article translations
Article ID: 891760 - View products that this article applies to.
Expand all | Collapse all

On This Page

INTRODUCTION

This article describes the ports that you must open in Microsoft Windows XP Service Pack 2 (SP2) to enable external access to services that are provided by Microsoft Windows Services for UNIX 3.5. By default, the Windows Firewall program is turned on in Windows XP SP2. Therefore, after you install Windows Services for UNIX 3.5, you must open specific ports in the Windows Firewall to enable external access to the Windows Services for UNIX 3.5 services. This article discusses the ports that you must open for the following services or features:
  • The NFS server service
  • The NIS server
  • The Mapping server feature
  • The Server for PCNFS
  • The Telnet server
  • The Password Synchronization feature
  • The RSH server feature
  • The Services for UNIX Administration tools
  • The Interix daemons

MORE INFORMATION

To enable access to certain features in Windows Services for UNIX 3.5, open the following ports in the Windows Firewall.

The NFS server service

To enable access to the Network File System (NFS) server service, you must open the following ports.

Note These ports provide access to the NFS server and its related services. Depending on your requirements, you must open TCP ports, UDP ports, or both TCP ports and UDP ports.
Collapse this tableExpand this table
Service or featureProtocolPort
PortmapperTCP, UDP111
StatusTCP, UDP1039
NlockmgrTCP, UDP1047
MountdTCP, UDP1048
NFS serverTCP, UDP2049

The NIS server

You cannot install the Network Information Service (NIS) server feature in Windows XP.

The Mapping server feature

To enable the Mapping server feature in Windows XP SP2, you must configure both the following:
  • You must enable the Portmapper TCP and UDP ports 111.

    Note For additional information about the port requirements for the Portmapper feature, see the "NFS server service" section.
  • You must add the Mapsvc.exe program to the Windows Firewall exception list. To do this, follow these steps:
    1. Click Start, click Run, type firewall.cpl, and then click OK.
    2. Click the Exceptions tab, and then click Add Program.
    3. Click Browse, locate and then click Mapsvc.exe, and then click Open.

      Note By default, this file is located in the C:\SFU\Mapper folder.
    4. Click Change scope, click one of the following scope options, and then click OK:
      • Any computer (including those on the Internet)
      • My network (subnet) only
      • Custom list
    5. Click OK two times.

The Server for PCNFS

To enable the Server for PCNFS, you must open the following ports.
Collapse this tableExpand this table
Service or featureProtocolPort
PortmapperTCP, UDP111
PCNFSDUDP1035

The Telnet server

To enable Telnet, you must open the following port.

Note This port enables the Windows Telnet program, not the Telnet program that is included with Windows Services for UNIX 3.5.
Collapse this tableExpand this table
Service or featureProtocolPort
TelnetTCP23

The Password Synchronization feature

To sychronize UNIX-based passwords with Windows passwords, you must open the following default port.
Collapse this tableExpand this table
Service or featureProtocolPort
Password SynchronizationTCP6677
Note TCP port 6677 is the default port assignment for this feature. However, you can change the port that is used by the Password Synchronization feature by using the Services for UNIX Administration tool. To do this, follow these steps:
  1. Start the Services for UNIX Administration tool, and then click Password Synchronization.

    Note If Password Synchronization does not appear under the Services for UNIX [local] node, you must install the Password Synchronization feature. This feature is not installed if you perform a typical Windows Services for UNIX 3.5 installation. To install the Password Synchronization feature, follow these steps:
    1. Click Start, click Control Panel, and then double-click Add or Remove Programs.
    2. Click Microsoft Windows Services for UNIX, and then click Change.
    3. In the Microsoft Windows Services for UNIX Maintenance Wizard, click Next.
    4. Click Add or remove, click Next, click Password Synchronization, click Will be installed on local hard drive, and then click Next.
    5. Click Finish, and then restart your computer if you are prompted to do this.
  2. In the Port number box, type the port number that you want the Password Synchronization feature to use, and then click Apply.

The RSH server feature

To enable external access to the Windows Services for UNIX 3.5 RSH server, you must open the following port.
Collapse this tableExpand this table
Service or featureProtocolPort
RSH serverTCP514

The Services for UNIX Administration tools

To enable access to Windows Services for UNIX 3.5 by using the Services for UNIX Administration tool or by using the Services for UNIX command-line tools, you must enable file and printer sharing in the Windows Firewall. To do this, follow these steps:
  1. Click Start, click Run, type firewall.cpl, and then click OK.
  2. Click the Exceptions tab, click to select the File and Printer Sharing check box, and then click OK.

The Interix daemons

By default, the Microsoft Interix daemons are not enabled. When you enable the Interix daemons by using the Inetd.conf file, you must also open the corresponding port in the Windows Firewall. You can determine the daemons that are configured to run by examining the etc/inetd.conf file. You can determine the corresponding port numbers to open for each service by examining the etc/services file. To open a port in the Windows Firewall, follow these steps:
  1. Click Start, click Run, type firewall.cpl, and then click OK.
  2. Click the Exceptions tab, and then click Add Port.
  3. In the Name box, type a descriptive name for the port, type the port number in the Port number box, click TCP or click UDP as appropriate, and then click Change scope.
  4. Click one of the following scope options, and then click OK:
    • Any computer (including those on the Internet)
    • My network (subnet) only
    • Custom list
  5. Click OK two times.

REFERENCES

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
324539 How to perform maintenance and ancillary tasks after a UNIX-to-Windows migration

Properties

Article ID: 891760 - Last Review: February 9, 2005 - Revision: 1.1
APPLIES TO
  • Microsoft Windows Services for UNIX 3.5
Keywords: 
kbhowto kbinfo KB891760

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com