How to explicitly set a port for SAS Studio 4.x?
As you might know, when you start SAS Studio 4.x, the application itself will pick up a random port from an ephemeral port range and start the application using that port. That should work just fine unless your Apache HTTP proxy is on the different machine and you have a firewall between it and SAS Studio 4.x. If your firewall has very restrictive rules and requires to use a specific port, you can do that by specifying these two properties in /opt/sas/viya/config/etc/sasstudio/default/init_usermods.properties file:
sasstudio.appserver.https.port - Specifies the port to use for HTTPS.
sasstudio.appserver.port - Specifies the port to use for HTTP.
For example:
sasstudio.appserver.https.port=38443
This solution appears to be geared towards the VM/Unix version, right ?
I am looking to set the default port for SAS Studio Single User (version 3.8) running on Windows 10, so every time I open SAS Studio, it uses the same port on localhost. WOuld you know which property/config file needs to be changed ?
Thx
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.