Error - Network binding issue
Learn how to fix errors related to network binding issues in Percy
Network binding issues usually indicate a problem with the loopback interface containing an invalid address. Often, the issue is that IPv6 is disabled, but the localhost entry contains an IPv6 address like ::1
. So, when the gateway tries to bind to localhost, it receives the IPv6 address and then fails to bind to it, resulting in an error.
Try these solutions to resolve this error:
Solution 1:
Set the Percy server host using these commands:
export PERCY_SERVER_HOST=locahost:5338
set PERCY_SERVER_HOST=locahost:5338
Solution 2:
Check if IPv6 is disabled on your machine, and then enable it.
Solution 3:
Check that the /etc/hosts
file contains only valid addresses for localhost. For example, an IPv4-only host might look like this: 127.0.0.1 localhost
.
- Try adding
::1 localhost
in your/etc/hosts
file.
Reference Topic
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!