Coder Social home page Coder Social logo

Comments (2)

dav1do avatar dav1do commented on June 22, 2024 1

Thanks for the report! This error is commonly caused by using node v18 instead of v20 and we have a section on our FAQ about it now, so I'm going to close this issue.

I think localhost is still the "correct" value for us to list in our docs but there are plenty of reasons it might not work in addition to using an unsupported node version. localhost is a special hostname that is the "loopback address" and typically points to the IP addresses 127.0.0.1 and ::1, which is where ceramic should be available since we're running the server on the same machine. You could set up custom DNS or /etc/hosts config to make localhost resolve to some other addresses if you know what you're doing - or just want to have a bad time.

The IP address 0.0.0.0 also has a special meaning and connecting to it is undefined afaik. As a server, binding to 0.0.0.0 means you want to listen on all addresses (and network interfaces). Connecting to it as a client is left as an exercise to the OS and might be an error, or might go to localhost, or might do something totally unexpected! Here's a SO post with links to the RFCs if you're curious for more details.

from js-composedb.

m0ar avatar m0ar commented on June 22, 2024

The reverse is true for linux machines, so simply swapping it just moves the problem :)

from js-composedb.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.