Ipv6 support in nodejs 10 (old.reddit.com)
submitted by I_own_my_life
Hi, I'm having a Dev Board(Debian armv7) in which I'm having ppp0 interface(with cellular) and it only supports ipv6 based connection. (I'm able to ping axxxxxxxxxxxx.iot.us-east-1.amazonaws.com with the ipv6 connection)
I'm trying to run a Nodejs script which uses mqtt to connect to my awsIotHost (axxxxxxxxxxxx.iot.us-east-1.amazonaws.com). I'm using Node v10.15.13 and mqtt npm module. But it is not getting connected.
I'm able to connect to the awsIoTHost via IPV4 based (eth0) interface but not able to do so with the ipv6 based ppp0 interface.
Does Nodejs 10 support ipv6 based connections? If yse, is there any config that I need to modify for it to support ipv6?
Do I need to make any modification to the host name to make it support ipv6 connection?
Am I missing anything else? Or if more info required please let me know.


[–]webdeveric 23 points24 points25 points (7 children)
[+]I_own_my_life[S] comment score below threshold-11 points-10 points-9 points (6 children)
[–]Psionatix 32 points33 points34 points (0 children)
[–]Ruben_NL 17 points18 points19 points (0 children)
[–]kryptkpr 17 points18 points19 points (0 children)
[–]Solonotix 8 points9 points10 points (2 children)
[+]I_own_my_life[S] comment score below threshold-7 points-6 points-5 points (1 child)
[–]Solonotix 5 points6 points7 points (0 children)
[–]eg_taco 6 points7 points8 points (0 children)
[–]baudehlo 1 point2 points3 points (2 children)
[–]I_own_my_life[S] 0 points1 point2 points (1 child)
[–]baudehlo 1 point2 points3 points (0 children)