Please help me with error:
Error: The connection could not be established to a SAS Workspace Server named 'Local' running on port on host 'localhost'.
Please verify the following:
- The correct hostname and port number were specified.
- If a firewall is present, it is correctly configured to allow this access.
- An object spawner has been started on the server.
- The SETINIT on the server is not expired.
Please contact your SAS Administrator if the problem persists.
Server response: Server execution failed
Are you connecting to SAS on your PC or a remote SAS server? Is this a first time connection or was it working but now it isn't?
Can you please update the post as answered then.
EDIT: Oops I misread your post. @ChrisHemedinger 's suggestion is the first thing to check.
If it was working up until just today, check the license -- did it expire? You would have seen warnings before now, but once the expiration hits, no more warnings -- just failure to connect.
@thiennguyen19x5 wrote:
No, the license is working, not expired
How do you know? How have you checked?
The easiest way to prove if your SAS software is functioning correctly is to start a traditional SAS session from a Windows program shortcut. Try running one of the SAS 9.4 shortcuts:
I have faced problems like this sometimes. I'll let a hint here.
The correct hostname and port number were specified.
Check if you have access to the server that you are trying to access to. Maybe you have a valid license to access SAS but don't have access to some servers.
Thank you everyone; I just fixed it.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Lock in the best rate now before the price increases on April 1.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.