zeronsd icon indicating copy to clipboard operation
zeronsd copied to clipboard

Cannot find local zerotier-one server that doesn't listen on port 9993

Open bolu61 opened this issue 3 years ago • 2 comments

Trying to start zeronsd on a host where zerotier-one server doesn't listen on port 9993 fails with the following message:

Aug 22 04:37:07.328  INFO zeronsd::init: Welcome to ZeroNS!
Error: Error: Communication Error error sending request for url (http://127.0.0.1:9993/network/<network-id>): error trying to connect: tcp connect error: Connection refused (os error 111). Are you joined to <network-id>?

bolu61 avatar Aug 22 '22 04:08 bolu61

There is also no way to provide the actual port that zerotier-one listens on as a parameter. Or maybe it's just not shown in docs?

bolu61 avatar Aug 22 '22 04:08 bolu61

It looks like it's hard coded. Not 100% sure. I'm sure we could make it take a port or url as an argument. Just need to find time.

laduke avatar Aug 23 '22 23:08 laduke

I'll try whacking this out tonight.

erikh avatar Mar 06 '23 11:03 erikh

This is resolved as of #207. Please wait for that patch to be merged before trying zeronsd.

Hope this helps!

erikh avatar Mar 06 '23 12:03 erikh

Also, your avatar has a most adorable kitten. :)

erikh avatar Mar 06 '23 12:03 erikh