On NR + NodeJs upgrade causes http request to stop recognizing localhost

Hi , We moved to NR 3.0.2 from (v2.2.2). And NodeJS was also upgraded to v18.17.

As a result we see now http request node has stopped working with URLs which have localhost as the server of the URL.

It continues to work where we have server name / IP defined.

Was any change done in NR or NodeJs causing http-request node to stop recognizing localhost ?

I think nodejs 18 prioritises ip6 over ip4 so make sure you have localhost defined in your /etc/hosts file. eg like	localhost
::1         localhost

Aah Ha. That would explain. Thanks @dceejay .

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.