BookmarkSubscribeRSS Feed

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

Started ‎11-05-2019 by
Modified ‎11-05-2019 by
Views 3,417

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

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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

SAS AI and Machine Learning Courses

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.

Get started

Article Tags