wasmcloud-otp icon indicating copy to clipboard operation
wasmcloud-otp copied to clipboard

[BUG] Dashboard doesn't accept connections on `127.0.0.1`

Open brooksmtownsend opened this issue 2 years ago • 1 comments

Describe the bug

If you try to access the dashboard from 127.0.0.1, the websocket spins forever and fails to authenticate. The "correct" URL is localhost:4000, but since these are functionally the same it would be great to accept either for the local dev purpose.

To Reproduce

Steps to reproduce the behavior:

  1. Launch wasmCloud locally
  2. Try to visit http://127.0.0.1:4000
  3. see washboard spin

brooksmtownsend avatar Jun 13 '22 19:06 brooksmtownsend

Ideally, we would just pick a listen address that doesn't complain for every connection

brooksmtownsend avatar Jun 14 '22 14:06 brooksmtownsend