You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use old MozRepl extension for Firefox: https://github.com/bard/mozrepl
This is the TCP server listening for localhost on port 4242. It works correct now on my setup, I can connect to it with PuTTY.
I started testing each version backwards and the last one that works is Node.js 16.9.1. So the problem started to appear from the version Node.js 17.0.0 (inclusive).
How often does it reproduce? Is there a required condition?
Each time with newer versions starting from Node.js 17.0.0.
What is the expected behavior?
Works also in new versions of Node.js.
What do you see instead?
Error, as given above
Additional information
Any tips on what the problem could be?
The text was updated successfully, but these errors were encountered:
It looks like you listen to the ipv4 address but connect to ipv6 address. Maybe you can try this: net.connect({"host": "localhost", "port": "4242", family: 4});.
@theanarkh
Yes, setting family: 4 solves the problem. Lookse like the default behavior had to change some time ago and now we have to set it additionally. Thanks for the quick help.
If it doesn't need to be documented anywhere then please close this issue.
Version
17.0.0 and above
Platform
Microsoft Windows NT 10.0.22000.0 x64
Subsystem
net
What steps will reproduce the bug?
I use old MozRepl extension for Firefox: https://github.com/bard/mozrepl
This is the TCP server listening for
localhost
on port4242
. It works correct now on my setup, I can connect to it with PuTTY.From Node.js side I used this code:
It worked for years, unfortunately after upgrading to Node.js 18.5.0 it stopped. I get a message:
I started testing each version backwards and the last one that works is Node.js 16.9.1. So the problem started to appear from the version Node.js 17.0.0 (inclusive).
How often does it reproduce? Is there a required condition?
Each time with newer versions starting from Node.js 17.0.0.
What is the expected behavior?
Works also in new versions of Node.js.
What do you see instead?
Error, as given above
Additional information
Any tips on what the problem could be?
The text was updated successfully, but these errors were encountered: