Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting default ip address to localhost instead of 127.0.0.1 #47

Open
SethDocherty opened this issue Nov 1, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@SethDocherty
Copy link
Member

Per testing, I found a discrepancy when using localhost vs 127.0.0.1 where I'm not able to access a CID in the browser via the local IPFS node http gateway.

After some research, it seems like typical approach is to use localhost.

Resources:

  1. This mentions localhost as the best practice though it lists 127.0.0.1. Confusing for the reader as it doesn't explicitly say localhost
  2. Article that provides some details on the difference. Note that localhost typically resolves to the ip address 127.0.0.1 as to refer to the machine itself.
  3. The example links in Step 2 use localhost.
@SethDocherty SethDocherty added the bug Something isn't working label Nov 1, 2024
@SethDocherty SethDocherty self-assigned this Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant