BookmarkSubscribeRSS Feed
thiennguyen19x5
Fluorite | Level 6

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

9 REPLIES 9
SASKiwi
PROC Star

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?

thiennguyen19x5
Fluorite | Level 6
On Pc
And It is working until now. I found the error today
SASKiwi
PROC Star

Can you please update the post as answered then. 

 

EDIT: Oops I misread your post. @ChrisHemedinger 's suggestion is the first thing to check.

ChrisHemedinger
Community Manager

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.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!
thiennguyen19x5
Fluorite | Level 6
No, the license is working, not expired
Patrick
Opal | Level 21

@thiennguyen19x5 wrote:
No, the license is working, not expired

How do you know? How have you checked?

SASKiwi
PROC Star

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:

SASKiwi_0-1715313062152.png

 

KaueMAlmeida
Obsidian | Level 7

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.

thiennguyen19x5
Fluorite | Level 6

Thank you everyone; I just fixed it.

sas-innovate-white.png

🚨 Early Bird Rate Extended!

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.

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 9 replies
  • 2383 views
  • 0 likes
  • 5 in conversation