<?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 connection to Trial server in Developers</title>
    <link>https://communities.sas.com/t5/Developers/SWAT-connection-to-Trial-server/m-p/601437#M570</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/287808"&gt;@javier-saez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ports 8777 and 5570 aren't open to the outside world on that server.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2019 17:25:47 GMT</pubDate>
    <dc:creator>alexal</dc:creator>
    <dc:date>2019-11-04T17:25:47Z</dc:date>
    <item>
      <title>SWAT connection to Trial server</title>
      <link>https://communities.sas.com/t5/Developers/SWAT-connection-to-Trial-server/m-p/601433#M569</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to connect to a VIYA trial server, via swat package from Python. I am following this guide:&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Your-First-CAS-Connection-from-Python/ta-p/260148" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Your-First-CAS-Connection-from-Python/ta-p/260148&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I write under cashost and casport?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cashost='pdcesx13012.sas.com'
casport=8777
useremail=****
userpassword= ***

casconn = swat.CAS(cashost, casport, useremail, userpassword, caslib="casuser",protocol='https')&lt;/PRE&gt;&lt;P&gt;When I log-in with my username and password to&amp;nbsp;&lt;A href="https://pdcesx13012.sas.com/" target="_blank"&gt;https://pdcesx13012.sas.com/&lt;/A&gt;&amp;nbsp;I can access my Jupyter notebook without any trouble. For the record, these are the errors I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="ansicyan"&gt;&lt;SPAN class="ansigreen"&gt;&lt;SPAN class="ansired"&gt;imeoutError: [Errno 110] Connection timed out&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class="ansicyan"&gt;&lt;SPAN class="ansigreen"&gt;&lt;SPAN class="ansired"&gt;ConnectionError: HTTPSConnectionPool(host='pdcesx13012.sas.com', port=5570): Max retries exceeded with url: /cas/sessions (Caused by NewConnectionError('&amp;lt;requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fadeeaab518&amp;gt;: Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;SWATError: Unable to connect to any URL: https://pdcesx13012.sas.com:5570&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Javier&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 16:57:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SWAT-connection-to-Trial-server/m-p/601433#M569</guid>
      <dc:creator>javier-saez</dc:creator>
      <dc:date>2019-11-04T16:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: SWAT connection to Trial server</title>
      <link>https://communities.sas.com/t5/Developers/SWAT-connection-to-Trial-server/m-p/601437#M570</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/287808"&gt;@javier-saez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ports 8777 and 5570 aren't open to the outside world on that server.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 17:25:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SWAT-connection-to-Trial-server/m-p/601437#M570</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-11-04T17:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: SWAT connection to Trial server</title>
      <link>https://communities.sas.com/t5/Developers/SWAT-connection-to-Trial-server/m-p/601584#M571</link>
      <description>OK, thanks.&lt;BR /&gt;So... what ports should I use? Is it even possible to connect to the Trial servers via swat library?</description>
      <pubDate>Tue, 05 Nov 2019 07:05:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SWAT-connection-to-Trial-server/m-p/601584#M571</guid>
      <dc:creator>javier-saez</dc:creator>
      <dc:date>2019-11-05T07:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: SWAT connection to Trial server</title>
      <link>https://communities.sas.com/t5/Developers/SWAT-connection-to-Trial-server/m-p/601639#M572</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/287808"&gt;@javier-saez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could use only these ports. Our OnDemand team might be able to help you open these ports, but you have to open a &lt;A href="https://support.sas.com/ctx/supportform/createForm" target="_blank" rel="noopener"&gt;track&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 12:22:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SWAT-connection-to-Trial-server/m-p/601639#M572</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-11-05T12:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: SWAT connection to Trial server</title>
      <link>https://communities.sas.com/t5/Developers/SWAT-connection-to-Trial-server/m-p/601643#M573</link>
      <description>Thanks</description>
      <pubDate>Tue, 05 Nov 2019 12:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SWAT-connection-to-Trial-server/m-p/601643#M573</guid>
      <dc:creator>javier-saez</dc:creator>
      <dc:date>2019-11-05T12:36:10Z</dc:date>
    </item>
  </channel>
</rss>

