<?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: Netapp Powershell script in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Netapp-Powershell-script/m-p/432673#M288</link>
    <description>&lt;P&gt;Your script is trying to use port 2530, but the output above you're showing is that HTTP is enabled on port 80. Is there a reason that you're specifying port 2530 in your script? If you do need it to be port 2530, you'll need to modify the web server on your cluster to listen on that port (which must be done at diag privilege):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cluster::*&amp;gt; set diag

Warning: These diagnostic commands are for use by NetApp personnel only.
Do you want to continue? {y|n}: y

cluster::*&amp;gt; system services web modify ?
  [[-external] {true|false}]                  External Web Services
  [ -http-port &amp;lt;integer&amp;gt; ]                    *HTTP Port
  [ -https-port &amp;lt;integer&amp;gt; ]                   *HTTPS Port
  [ -per-address-limit {24..999} ]            *Per Address Limit
  [ -wait-queue-capacity &amp;lt;integer&amp;gt; ]          *Wait Queue Capacity
  [ -http-enabled {true|false} ]              *HTTP Enabled
  [ -csrf-protection-enabled {true|false} ]   *CSRF Protection Enabled
  [ -csrf-token-concurrent-limit {0..9999} ]  *Maximum Number of Concurrent CSRF Tokens
  [ -csrf-token-idle-timeout &amp;lt;integer&amp;gt; ]      *CSRF Token Idle Timeout (Seconds)
  [ -csrf-token-absolute-timeout &amp;lt;integer&amp;gt; ]  *CSRF Token Absolute Timeout (Seconds)

cluster::*&amp;gt; system services web modify -http-port 2530

Warning: Modification of the web server port requires the firewall policy to be updated. Do you want to add the port to the existing "http" firewall policy service? {y|n}: y

The firewall port for "http" has been updated to "2530".

cluster::*&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2022 11:36:36 GMT</pubDate>
    <dc:creator>RobertBlackhart</dc:creator>
    <dc:date>2022-03-02T11:36:36Z</dc:date>
    <item>
      <title>Netapp Powershell script</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Netapp-Powershell-script/m-p/432670#M287</link>
      <description>&lt;P&gt;we are trying to create a script to create the user share folder and setting up required permission as per customer defined standards but we are getting the below error&amp;nbsp; PFA of the error .&lt;/P&gt;&lt;P&gt;we have enabled the HTTP but still we are facing the issue .Please find the output of system webservices show.&lt;/P&gt;&lt;P&gt;External Web Services: true&lt;BR /&gt;Status: online&lt;BR /&gt;HTTP Protocol Port: 80&lt;BR /&gt;HTTPS Protocol Port: 443&lt;BR /&gt;HTTP Enabled: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:04:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Netapp-Powershell-script/m-p/432670#M287</guid>
      <dc:creator>MohanCBE</dc:creator>
      <dc:date>2025-06-04T10:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Netapp Powershell script</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Netapp-Powershell-script/m-p/432673#M288</link>
      <description>&lt;P&gt;Your script is trying to use port 2530, but the output above you're showing is that HTTP is enabled on port 80. Is there a reason that you're specifying port 2530 in your script? If you do need it to be port 2530, you'll need to modify the web server on your cluster to listen on that port (which must be done at diag privilege):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cluster::*&amp;gt; set diag

Warning: These diagnostic commands are for use by NetApp personnel only.
Do you want to continue? {y|n}: y

cluster::*&amp;gt; system services web modify ?
  [[-external] {true|false}]                  External Web Services
  [ -http-port &amp;lt;integer&amp;gt; ]                    *HTTP Port
  [ -https-port &amp;lt;integer&amp;gt; ]                   *HTTPS Port
  [ -per-address-limit {24..999} ]            *Per Address Limit
  [ -wait-queue-capacity &amp;lt;integer&amp;gt; ]          *Wait Queue Capacity
  [ -http-enabled {true|false} ]              *HTTP Enabled
  [ -csrf-protection-enabled {true|false} ]   *CSRF Protection Enabled
  [ -csrf-token-concurrent-limit {0..9999} ]  *Maximum Number of Concurrent CSRF Tokens
  [ -csrf-token-idle-timeout &amp;lt;integer&amp;gt; ]      *CSRF Token Idle Timeout (Seconds)
  [ -csrf-token-absolute-timeout &amp;lt;integer&amp;gt; ]  *CSRF Token Absolute Timeout (Seconds)

cluster::*&amp;gt; system services web modify -http-port 2530

Warning: Modification of the web server port requires the firewall policy to be updated. Do you want to add the port to the existing "http" firewall policy service? {y|n}: y

The firewall port for "http" has been updated to "2530".

cluster::*&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 11:36:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Netapp-Powershell-script/m-p/432673#M288</guid>
      <dc:creator>RobertBlackhart</dc:creator>
      <dc:date>2022-03-02T11:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Netapp Powershell script</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Netapp-Powershell-script/m-p/432876#M290</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;A href="https://community.netapp.com/t5/user/viewprofilepage/user-id/88590" target="_self"&gt;&lt;SPAN class=""&gt;MohanCBE,&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the above step and recommendation solve your issue with the script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 06:38:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Netapp-Powershell-script/m-p/432876#M290</guid>
      <dc:creator>hmoubara</dc:creator>
      <dc:date>2022-03-09T06:38:48Z</dc:date>
    </item>
  </channel>
</rss>

