ssbc / ssb-server

The gossip and replication server for Secure Scuttlebutt - a distributed social network
1.69k stars 164 forks source link

Error: listen EADDRNOTAVAIL: address not available #712

Closed D3191 closed 4 years ago

D3191 commented 4 years ago

I have been trying to setup a ssb pub and have seem to hit a wall. I followed the instructions here but when I run “sh ~/run-server.sh” I get the error:

Error: listen EADDRNOTAVAIL: address not available (My Public IP):8008

When I remove --host (My subdomain) from the string it works but when I run “ssb-server invite.create 1.” I receive the error:

Error: Server has no public ip address, cannot create useable invitation

I am running firewalld but I have opened both port 8008 and 8989 on both the internal and external zones.

Secure Scuttlebutt looks like a great project and thanks for any help setting it up :)

D3191 commented 4 years ago

The issue is fixed!

I used the config from issue #638 and it worked.

If anyone else has this problem just nano ~/.ssb/config

and add this text to the file and you are ready to scuttlebutt :)