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,825

Question

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

Answer

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

 

 

Comments
zpc

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

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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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