Skip to content

[BUG] Server binds to IPv6 when using 'localhost' instead of '127.0.0.1' (v4 vs vs6) #1011

Open
@nikitastryuk

Description

@nikitastryuk

Description

This change updated BUCKET_HOST default value and now server binds to IPv6 (::1) instead of IPv4 (127.0.0.1). This behavior occurs because 'localhost' can resolve to both IPv4 and IPv6 addresses, and the system's default behavior is to prefer IPv6.

Current Behavior for BUCKET_HOST:

  • Using 127.0.0.1: IPv4
  • Using localhost: IPv6

Proposed Solution

  • Revert BUCKET_HOST change to use 127.0.0.1
  • Make the server binding code to explicitly use IPv4

Workaround

  • Using BUCKET_HOST=127.0.0.1 in .env

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions