BookmarkSubscribeRSS Feed

How to explicitly set a port for SAS Studio 4.x?

Started ‎11-05-2019 by
Modified ‎11-05-2019 by
Views 2,688


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/ file:

sasstudio.appserver.https.port - Specifies the port to use for HTTPS.
sasstudio.appserver.port - Specifies the port to use for HTTP.


For example:







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 ?



Version history
Last update:
‎11-05-2019 11:55 AM
Updated by:



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags