This repository was archived by the owner on Feb 10, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 641
[Feature request]: Actual Server fails to start when host has IPV6 disabled #336
Copy link
Copy link
Open
Labels
featureNew feature or requestNew feature or request
Description
Verified issue does not already exist?
- I have searched and found no existing issue
What happened?
When trying to start actual-server locally or through Docker on a host that has IPv6 disabled, the server fails to start as it tries to bind port 5006 to :: on IPV6. With IPV6 being disabled on the host through the kernel, the bind fails and actual-server is unable to start.
What error did you receive?
Checking if there are any migrations to run for direction "up"...
Migrations: DONE
Listening on :::5006...
node:events:495
throw er; // Unhandled 'error' event
^
Error: listen EAFNOSUPPORT: address family not supported :::5006
at Server.setupListenHandle [as _listen2] (node:net:1800:21)
at listenInCluster (node:net:1865:12)
at doListen (node:net:2014:7)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1844:8)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'EAFNOSUPPORT',
errno: -97,
syscall: 'listen',
address: '::',
�
Where are you hosting Actual?
Docker
What browsers are you seeing the problem on?
Other
Operating System
Linux
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request