Skip to content

Can't change listen_addresses to 0.0.0.0 #9075

@Yarn

Description

@Yarn
  • Gel Version: 6.11+66a1377
  • Gel CLI Version: 7.9.0+070b371
  • OS Version: 6.16.5-arch1-1 EdgeDB documentation. #1 SMP PREEMPT_DYNAMIC Thu, 04 Sep 2025 23:18:13 +0000 x86_64 GNU/Linux

Steps to Reproduce:

  1. gel configure set listen_addresses 0.0.0.0

Trying to change the listen addresses to 0.0.0.0 seems to make the server inaccessible until it's manually restarted.
From the systemd journal

Oct 07 08:15:00 test gel[247532]: INFO 247532 gel_test 2025-10-07T08:15:00.883 edb.server: Connection established to backend database: main
Oct 07 08:15:00 test gel[247532]: INFO 247532 gel_test 2025-10-07T08:15:00.888 edb.server: Stopping to serve on 127.0.0.1:10700
Oct 07 08:15:00 test gel[247532]: WARNING 247532 gel_test 2025-10-07T08:15:00.889 edb.server: could not create listen socket for '0.0.0.0:10700': [Errno 98] error while attempting to bind on address ('0.0.0.0', 10700): address already in use
Oct 07 08:15:07 test gel[247532]: INFO 247532 gel_test 2025-10-07T08:15:07.949 edb.server: Connection established to backend database: main

Putting the address of every interface in the config works as a workaround.

edit: listen_addresses seems to reset every time the server restarts, which is frequent since the server gets shut down after a timeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions