https call to specific port
# ask-stanley-ai
p
https call to specific port
c
AI generated answer (using internal Slack threads):
In the context of making an HTTPS call to a specific port, it's important to note that the port number is part of the URL you're calling. For example, if you're making a call to
<https://example.com:8080>
,
8080
is the port number. However, in the context of NetSuite and SuiteScript, it's not common to specify the port number when making HTTPS calls. NetSuite handles the underlying network details for you when you use the
https
module's
get
or
post
methods. If you're trying to make an HTTPS call to a specific port from a NetSuite script, and you're encountering issues, it might be due to network restrictions on the NetSuite side or the server you're trying to reach. In the threads you provided, there's a code snippet for refreshing specific portlets on a NetSuite dashboard. This is done using client-side JavaScript and the
setInterval
function to periodically click the refresh button on the portlets. However, this is not directly related to making HTTPS calls to specific ports. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.791104078
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.789016187
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.785975754
Please provide your feedback on this answer.