Folks,

I thought I would share a little discovery. that may help others who do a 
lot of TiddlyWiki serving.

It is nice to set up one or more servers on your own PC for tiddlywiki but 
the use of multiple servers on one computer means setting the port each 
uses.
*You may want vanila Node, TiddlyServer, Bob and If work out how 
TiddlyDesktop to Share Wikis. In addition I have apache serving tiddlyWikis 
(**using tw-receiver) **and WordPress etc (AMPPS) *

   - This means all your links must include this port
   - Other applications may want to use the same ports
   - If you move it to another device you may have to change the port
   - Ports can not be added to your Domain name system

What I have discovered at least on Windows, but I expect there is away on 
all platforms, is it is trivial to add additional IP addresses. 

   - I simply reduced the range of addresses my home router issues to DHCP 
   2-79 freeing 80-99 ie 192.168.1.80 - 192.168.1.99 to be used as static IP 
   Addresses
      - For those interested I use the range 100-254 for Fixed static IP 
      addresses of all devices I know. The Router issues the static addresses 
      through DHCP
   - Rather than activate your server on on Local Host or using 0.0.0.0 
   specify one of these additional IP Addresses, and leave the port set to 80
   - For example My Desktop is at http://192.168.1.109 but TiddlyServer on 
   my desktop is at http://192.168.1.81/ and wikis found in folders below 
   there.
   - From your own computer or on the LAN just specify the IP Address to 
   access TiddlyServer. 
   - If you want to move TiddlyServer to another computer just decommission 
   the additional IP Address on the Source Computer and Add it to the 
   Destination computer

Take it further with DNS

   - I have activated DNS on my Synology Diskstation, created a .local 
   domain
   - Then assigned the ts.local to my TiddlyServer at http://192.168.1.81/ 
   - So now I can also access the tiddly server as ts.local
   - With this not only can I move the IP Address I can change it if I need 
   to, if all my links contain http://ts.local
   - It is so nice to use a phone or another desktop on my lan and type in 
   ts.local or bob.local to access these servers (where ever they may be 
   hosted.
   - I have hosted node within a Synology NAS docker package and under an 
   Apache server as well

Key advantages

   - Able to stick to port 80 - the default for http, so not need to 
   provide the port number in links
   - Portability of the Additional IP Addresses to other hosts in your 
   network
   - Use DNS for further IP Address changes if needed (Eg move to another 
   network)
   - Frees your computers own IP Address and Ports for other applications


*Learn by teaching, share what you learn and learn from what others share. 
We call this a "virtuose circle".*

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 [email protected].
To post to this group, send email to [email protected].
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/77a267df-5e46-42ba-ac60-b4cd6a8b3df3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to