libp2p / docs

Documentation site for the libp2p project.
https://docs.libp2p.io/
Other
59 stars 88 forks source link

go-libp2p ping-pong no good addresses error #317

Closed egeaybars123 closed 1 year ago

egeaybars123 commented 1 year ago

While going through the ping-pong tutorial for setting up a libp2p node in Go, I encountered a problem: "no good addresses" (I attached a terminal screenshot below). My OS is Windows. Any ideas about how to fix this problem?

error
egeaybars123 commented 1 year ago

After some digging, I found out what my issue was. I had an issue with listening on "/ip4/192.0.2.0/tcp/0", but when I used localhost (127.0.0.1), I accidentally put "/ip4/127.0.0.1/tcp/8080" on a fixed port, so the pinging node had a problem with connecting on the same port. I'm closing the issue as it is resolved.