Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDE can't start if localhost resolve to IPv6 address #2579

Open
3 tasks done
StevenLeRoux opened this issue Nov 25, 2024 · 0 comments
Open
3 tasks done

IDE can't start if localhost resolve to IPv6 address #2579

StevenLeRoux opened this issue Nov 25, 2024 · 0 comments
Labels
type: imperfection Perceived defect in any part of project

Comments

@StevenLeRoux
Copy link

StevenLeRoux commented Nov 25, 2024

Describe the problem

When a linux system is using a default localhost resolving to ::1 (IPv6 localhost address), IDE won't start because the backend process is only listening to 127.0.0.1:<port>.

Listening on both 127.0.0.1 and ::1 by just providing the port would solve the problem.

To reproduce

To reproduce, just ensure having the following configuration in your /etc/hosts file :

::1	localhost.localdomain	localhost

instead of

127.0.0.1	localhost.localdomain	localhost

Expected behavior

IDE could support dual stack if in order to be started in any situation. Otherwise it shouldn't rely on dynamic resolution that can end up in an incompatible configuration.

Arduino IDE version

2.3.3

Operating system

Linux

Operating system version

Archlinux

Additional context

Discussion thread: https://forum.arduino.cc/t/ide-2-3-3-not-starting-with-error-14-unavailable-no-connection-established/1325816

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@StevenLeRoux StevenLeRoux added the type: imperfection Perceived defect in any part of project label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant