John Brady 1 Reputation point

Hi, trying to figure out why when setting up ai with the node sdk I am getting a timeout to port 80. My connection string has the endpoint starting https: This is causing the logging to not work because we are blocking port 80, have verified with our networking team. Is there any way to force appInsights to use port 443 from the Node SDK? This is when developing on localhost, have not configured localhost for https, not sure if that is the issue but other teams in my org are not having the issue with localhost on http, granted with different sdk's, react and js.

Here is my setup:

.setAutoCollectPerformance(true, true)

Thanks so much!

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,086 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 10,251 Reputation points

    Hi @John Brady ,

    We took a closer look at the issue and It looks like you have an invalid connection string based on your code snippet.


    The easiest way to force appInsights to use port 443 is to specify the port explicitly in the url like so: IngestionEndpoint=https://ingestionendpointurl:443'

    Hope that helps. Please let us know if you have further questions.



    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments