getappmap / appmap-js

Client libraries for AppMap
48 stars 17 forks source link

fix: Listen on localhost for IPv4 and IPv6 #2075

Closed dividedmind closed 1 month ago

dividedmind commented 1 month ago

In some environments 'localhost' may resolve to either IPv4 or IPv6 depending on the runtime; if the client and the server differ, this could lead to connection problems.

To avoid this issue, attempt to start a server on both localhosts.