Skip to content

🐛 BUG: warning always received about multiple bind addresses #1408

@Cherry

Description

@Cherry

Which Cloudflare product(s) does this pertain to?

Wrangler core

What version(s) of the tool(s) are you using?

3.8.0

What version of Node are you using?

18.17.1

What operating system are you using?

Windows 10

Describe the Bug

Every time that you start wrangler dev, you get a large red error like so (from workerd it would seem):

kj/async-io-win32.c++:982: warning: Bind address resolved to multiple addresses.  Only the first address will be used.  If this is incorrect, specify the address numerically.  This may be fixed in the future.; addrs[0].toString() = 127.0.0.1:59208

It's possible that this only occurs in Windows, or when a machine has multiple network adapters. Hitting b still works fine, and opening up http://127.0.0.1:8787/ is fine too, so perhaps the error should just be hidden?

Reproduction steps

  • npm create cloudflare@latest
  • use all defaults
  • cd into worker dir and run npm start

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions