<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SWAT - Parameters to connect from local Python client in Windows to a remote SAS Viya 3.5 CAS Se in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/SWAT-Parameters-to-connect-from-local-Python-client-in-Windows/m-p/864977#M1719</link>
    <description>It is possible to connect from Python to CAS using SWAT, but you need to have a path to the server / port you are trying to connect to. You may want to try using the Test-NetConnection cmdlet to confirm you have a network path:&lt;BR /&gt;&lt;BR /&gt;Test-NetConnection cas.example.com -port 5570</description>
    <pubDate>Fri, 17 Mar 2023 19:52:38 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2023-03-17T19:52:38Z</dc:date>
    <item>
      <title>SWAT - Parameters to connect from local Python client in Windows to a remote SAS Viya 3.5 CAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Viya/SWAT-Parameters-to-connect-from-local-Python-client-in-Windows/m-p/864658#M1714</link>
      <description>&lt;P&gt;Hi experts:&lt;/P&gt;
&lt;P&gt;I have SAS Viya 3.5 and I want to connect to the CAS server through &lt;U&gt;&lt;STRONG&gt;my local Python client&lt;/STRONG&gt;&lt;/U&gt; using SWAT. I usually connect through SAS Studio using a URL, so I'm not sure if it is possible to connect from my local computer or &lt;STRONG&gt;is it&amp;nbsp;a must to have Jupyter/Python client installed in the SAS Viya server?&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In SAS Studio, I was able to find to following parameters for host and port (please let me know if this assumption is right):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_1-1678995571642.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81681iD9C50CEE0B7E9D7B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a20121248_1-1678995571642.png" alt="a20121248_1-1678995571642.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is when I try to connect in Python, I've got the following error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_2-1678995730538.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81684iCDCDC853BC527422/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a20121248_2-1678995730538.png" alt="a20121248_2-1678995730538.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to connect from my local Python in Windows? or am I missing something?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Javier&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 19:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/SWAT-Parameters-to-connect-from-local-Python-client-in-Windows/m-p/864658#M1714</guid>
      <dc:creator>a20121248</dc:creator>
      <dc:date>2023-03-16T19:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: SWAT - Parameters to connect from local Python client in Windows to a remote SAS Viya 3.5 CAS Se</title>
      <link>https://communities.sas.com/t5/SAS-Viya/SWAT-Parameters-to-connect-from-local-Python-client-in-Windows/m-p/864977#M1719</link>
      <description>It is possible to connect from Python to CAS using SWAT, but you need to have a path to the server / port you are trying to connect to. You may want to try using the Test-NetConnection cmdlet to confirm you have a network path:&lt;BR /&gt;&lt;BR /&gt;Test-NetConnection cas.example.com -port 5570</description>
      <pubDate>Fri, 17 Mar 2023 19:52:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/SWAT-Parameters-to-connect-from-local-Python-client-in-Windows/m-p/864977#M1719</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-03-17T19:52:38Z</dc:date>
    </item>
  </channel>
</rss>

