Usage Note 48479: Connection is refused and socket errors occur when you are using the SAS® PC Files Server
When using the EXCELCS, ACCESSCS, or PCFILES engines with the SAS PC Files Server, you might receive the following error:
ERROR: A socket routine returned error: The connection was refused.
ERROR: Failed to connect to the Server: (servername).
NOTE: The SAS System stopped processing this step because of errors.
The problem occurs for different reasons and is remedied in different ways:
- If the code has worked previously, reboot the machine on which the SAS PC Files Server resides. This often fixes the problem.
- The issue might be that a Windows firewall is blocking the port from the SAS PC Files Server itself. In this case, the system administrator must make a port available for the SAS PC Files Server.
- Similar errors can also be caused when the SAS PC Files Server and the SAS session are not at the same release level.
See SAS Note 42687: "Error Allocating CLI Environment and Socket Errors when using the PC Files Server."
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | Microsoft® Windows® for 64-Bit Itanium-based Systems | | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | | |
Microsoft Windows XP 64-bit Edition | | |
Microsoft® Windows® for x64 | | |
OS/2 | | |
Microsoft Windows 8 Pro | | |
Microsoft Windows 95/98 | | |
Microsoft Windows 2000 Advanced Server | | |
Microsoft Windows 2000 Datacenter Server | | |
Microsoft Windows 2000 Server | | |
Microsoft Windows 2000 Professional | | |
Microsoft Windows NT Workstation | | |
Microsoft Windows Server 2003 Datacenter Edition | | |
Microsoft Windows Server 2003 Enterprise Edition | | |
Microsoft Windows Server 2003 Standard Edition | | |
Microsoft Windows Server 2003 for x64 | | |
Microsoft Windows Server 2008 | | |
Microsoft Windows Server 2008 for x64 | | |
Microsoft Windows Server 2012 | | |
Microsoft Windows XP Professional | | |
Windows 7 Enterprise 32 bit | | |
Windows 7 Enterprise x64 | | |
Windows 7 Home Premium 32 bit | | |
Windows 7 Home Premium x64 | | |
Windows 7 Professional 32 bit | | |
Windows 7 Professional x64 | | |
Windows 7 Ultimate 32 bit | | |
Windows 7 Ultimate x64 | | |
Windows Millennium Edition (Me) | | |
Windows Vista | | |
Windows Vista for x64 | | |
64-bit Enabled AIX | | |
64-bit Enabled HP-UX | | |
64-bit Enabled Solaris | | |
ABI+ for Intel Architecture | | |
AIX | | |
HP-UX | | |
HP-UX IPF | | |
IRIX | | |
Linux | | |
Linux for x64 | | |
Linux on Itanium | | |
Solaris | | |
Solaris for x64 | | |
Tru64 UNIX | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Date Modified: | 2012-12-10 15:28:31 |
Date Created: | 2012-11-15 12:47:30 |