[tw] Re: TiddlyServer on Raspberry Pi 3 with Stretch Raspbian and host 0.0.0.0

2017-11-20 Thread PMario
Hi Ron,

Did you try different ports?

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e10a4ccd-7b1a-40a4-80fa-cca8c4941ce4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyServer on Raspberry Pi 3 with Stretch Raspbian and host 0.0.0.0

2017-11-19 Thread RichardWilliamSmith
Thanks Ron, I'll look at updating the docs when I get a chance.

Regards,
Richard

On Sunday, November 19, 2017 at 3:24:42 AM UTC+11, Ron Sharp wrote:
>
> I ran into a snag following instructions for installing TiddlyServer on a 
> Pi:
>
> https://www.didaxy.com/tiddlyserver-on-the-raspberry-pi
>
> Running for localhost works fine, but trying put it on the LAN generates 
> an EADDRINUSE exception, no matter which port is used, which was a 
> head-scratcher because a single Tiddlywiki server works fine.
>
> The problem is probably that Raspbian Stretch changed a lot of networking 
> behavior, and node.js is in fast-moving state of flux. (v8.9.1)
>
> Stretch generates interfaces for lo, eth0 and wlan0, even if the wifi 
> isn't being used.
> Listening for host 0.0.0.0 tries all the interfaces, and goes boom.
>
> The solution/workaround is to use the exact IP address of the correct 
> interface. (I've assigned fixed IP addresses on the LAN, so that isn't a 
> problem for me.) It's working fine now, thanks!
>
> { Error: listen EADDRINUSE 0.0.0.0:
> at Object._errnoException (util.js:1024:11)
> at _exceptionWithHostPort (util.js:1046:20)
> at Server.setupListenHandle [as _listen2] (net.js:1351:14)
> at listenInCluster (net.js:1392:12)
> at doListen (net.js:1501:7)
> at _combinedTickCallback (internal/process/next_tick.js:141:11)
> at process._tickCallback (internal/process/next_tick.js:180:9)
> at Function.Module.runMain (module.js:678:11)
> at startup (bootstrap_node.js:187:16)
> at bootstrap_node.js:608:3
>   code: 'EADDRINUSE',
>   errno: 'EADDRINUSE',
>   syscall: 'listen',
>   address: '0.0.0.0',
>   port:  }
> caught process uncaughtException
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d4c7c5d1-7d2a-47fd-bfdc-4158228f0533%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyServer on Raspberry Pi 3 with Stretch Raspbian and host 0.0.0.0

2017-11-18 Thread TonyM
Ron,

Thanks for keeping the community updated. I suppose this is an example of 
the system giving you exactly what you asked for (hosting on all IP 
Addresses) and as a result not working. Asking a more specific question to 
host it on this address solves the problem.

I have a PCDuino, running Ubuntu but not had the time to play. Have you 
found a way to use tiddlywiki to interact with the RasperyPi's inputs and 
outputs? I imaging using tiddlywiki to kick off code on a microcomputer 
could be very powerful. Or are you simply using the Pi as a server platform?

Regards
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/15774e15-9f25-466a-b183-6995695d0926%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.