question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to connect via IPv6

See original GitHub issue

Sorry in advance if this is just a configuration error on my end but I cannot figure it out.

When I try to connect to my taskd server at

task.example.com:54321

I get the error message

failed to connect to task.example.com/aaaa:bbbb:ccc:d:eee:f:gg:hh:ii:jj (port 54321) from /:: (port 98765): connect failed: ECONNREFUSED (Connection refused)

I don’t understand the address it is trying to connect to which seems to have an IPv6 address appended to it and I also don’t understand where the second port number comes from.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
demurecommented, Jan 3, 2021

I seem to be having this issue as well when I use my own taskd and my hostname. As soon as I replace my hostname with the ipv4 address instead of the domain name, the app starts working correctly. Perhaps there is an issue with handling the ipv6 addresses?

0reactions
evilhamcommented, Mar 24, 2021

\o Adding some info here because this might not actually be a bug in foreground, but instead related to a bug in taskd, in which it is not able to listen dual stack. Basically that means right now: pick an address family and stick to it or (much better) write a patch for taskd.

See:

I’ll try to replicate but, since my mobile internet provider doesn’t support v6, I fell back to running this particular service v4-only for the time being.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the IPv6 Connectivity No Network Access Error
What Causes the IPv6 Connectivity No Network Access Error; Solution 1. Restart the Winsock and TCP/IP Stack; Solution 2. Disable IP Helper ......
Read more >
Fix IPv6 Connectivity, No network access error on Windows 11 ...
Fix IPv6 Connectivity, No network access error · 1] Restart PC and Internet device · 2] Temporarily disable third-party security software (if ...
Read more >
'IPv6 Connectivity- No network access' error in Windows 10 / 11
Fix-2 Uncheck IPv6 settings- ... 1. Pressing Windows key with the “R” key will pop up a Run terminal. 2. Then type “ncpa.cpl”...
Read more >
How to Fix IPv4/IPv6 'No Internet Access' Error - Appuals.com
If you have only IPv6 as the only connection, there is a chance IPv4 is disabled. Your LAN or Wi-Fi/WLAN drivers might also...
Read more >
FIX: IPv6 Connectivity: No Internet access
Reset Winsock and TCP/IP · Release and Renew Your IP Configuration Settings · Disable IP Helper Service · Disable IPv6 · Temporarily Disable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found