<?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 Where to find the hostname and port to SASPy hosted servers in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Where-to-find-the-hostname-and-port-to-SASPy-hosted-servers/m-p/800748#M33193</link>
    <description>&lt;P&gt;I just made an&amp;nbsp;OnDemand for Academics account to use sas on Python and I &lt;SPAN&gt;couldn't&lt;/SPAN&gt; find my hostname and port to&amp;nbsp;&lt;SPAN&gt;create a connection to the CAS server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use this, but I get an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;conn = swat.CAS('odaws01-euw1.oda.sas.com', 5570)&lt;/PRE&gt;&lt;PRE&gt;ERROR: The TCP/IP tcpSockConnect support routine failed with error 10060 (The connection has timed out.).
ERROR: Failed to connect to host 'odaws01-euw1.oda.sas.com', port 5570.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Mar 2022 23:20:07 GMT</pubDate>
    <dc:creator>oussama1302</dc:creator>
    <dc:date>2022-03-07T23:20:07Z</dc:date>
    <item>
      <title>Where to find the hostname and port to SASPy hosted servers</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Where-to-find-the-hostname-and-port-to-SASPy-hosted-servers/m-p/800748#M33193</link>
      <description>&lt;P&gt;I just made an&amp;nbsp;OnDemand for Academics account to use sas on Python and I &lt;SPAN&gt;couldn't&lt;/SPAN&gt; find my hostname and port to&amp;nbsp;&lt;SPAN&gt;create a connection to the CAS server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use this, but I get an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;conn = swat.CAS('odaws01-euw1.oda.sas.com', 5570)&lt;/PRE&gt;&lt;PRE&gt;ERROR: The TCP/IP tcpSockConnect support routine failed with error 10060 (The connection has timed out.).
ERROR: Failed to connect to host 'odaws01-euw1.oda.sas.com', port 5570.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 23:20:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Where-to-find-the-hostname-and-port-to-SASPy-hosted-servers/m-p/800748#M33193</guid>
      <dc:creator>oussama1302</dc:creator>
      <dc:date>2022-03-07T23:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find the hostname and port to SASPy hosted servers</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Where-to-find-the-hostname-and-port-to-SASPy-hosted-servers/m-p/800871#M33194</link>
      <description>&lt;P&gt;The connection you are trying to make is using SWAT, not SASPy. That would be the reason for the error. SWAT connect to CAS, whereas SASPy connect to SAS. The SAS ODA servers are SAS servers, so using SASPy would be the way to connect to them from Python.&lt;/P&gt;
&lt;P&gt;The config doc for saspy is here:&amp;nbsp;&lt;A href="https://sassoftware.github.io/saspy/configuration.html" target="_blank"&gt;https://sassoftware.github.io/saspy/configuration.html&lt;/A&gt;&amp;nbsp;and for ODA, the specific config would use IOM access method Remote: &lt;A href="https://sassoftware.github.io/saspy/configuration.html#remote" target="_blank"&gt;https://sassoftware.github.io/saspy/configuration.html#remote&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The specific config doc for ODA access from saspy, with the hosts and port, ... is here:&amp;nbsp;&lt;A href="https://support.sas.com/ondemand/saspy.html" target="_blank"&gt;https://support.sas.com/ondemand/saspy.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 15:43:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Where-to-find-the-hostname-and-port-to-SASPy-hosted-servers/m-p/800871#M33194</guid>
      <dc:creator>sastpw</dc:creator>
      <dc:date>2022-03-08T15:43:26Z</dc:date>
    </item>
  </channel>
</rss>

