Morgaine,
I support marks suggestion, the wikis then appear on a folder under the top
wikis IP/Port address. Then you need only one IP address:port
A Couple of big tips I found are as follow, just ask if you want more
details. I have assumed a certain level of knowledge in my reply, so I am
happy to provide more info.
When loading node you can provide an address
Local host addresses
- When using local host addresses very few applications realise
127.0.0.1 is the first of millions or addresses
- This means you can get a server to listen at Server at addresses such
as 127.0.4.85
- If you do this you can use the port 80 and need not provide the port
number in the address bar (no competition for this valuable address.
- You can even give such addresses a pseudo DNS name in the hosts file
eg: bob.local 127.0.4.85
- Thus all addresses will be bob.local/wikiname
- This will allow you to change the IP address, even move the server to
another computer if desired and all your addresses remain valid.
Using listen 0.0.0.0
- Using this address makes the server available on a the LAN
- It simply acquires an available port on all IP addresses assigned to
the host
- In windows and I am sure other platforms
- You can assign additional IP addresses on the computer
- Rather than use 0.0.0.0 use one of these additional IP addresses
(Commonly taken from a static IP address range)
Using the information above I have a setup where my bob server exists
locally at
- bob.local then the subwikis at b <http://127.0.4.85:8081/Sessions#>
ob.local/wikname
- Or http://127.0.4.85:8081/ and http://127.0.4.85:8081/wikiname
and simultaneously exists on the LAN at
- http://192.168.1.85/ and http://192.168.1.85/wikiname (The additional
IP Address on my computer)
With my own DNS this becomes
- http://bob.lan and http://bob.lan/wikiname
A Key advantage is the wikis can now always be addressed the same including
links to tiddlers etc.., even If I move he server to another computer on
the LAN.
Regards
Tony
On Friday, 4 September 2020 06:10:52 UTC+10, Morgaine O'Herne wrote:
>
> That sounds like something I want to try. Thank you.
>
> On Thu, Sep 3, 2020 at 10:54 AM 'Mark S.' via TiddlyWiki <
> [email protected] <javascript:>> wrote:
>
>> I understood your question to mean that you wanted to launch from the
>> browser. So I was interested in responses. Apparently that isn't what you
>> wanted.
>>
>> If you use Bob or tiddlyserver, then all your wikis can use the same port
>> number. You can just leave it running and have it launched by your
>> operating system. Then just bookmark your files like you would any web page
>> and they're available whenever you need them. The bookmarking is easier
>> because the port number is always the same (that is, you don't have to
>> launch each wiki with pre-determined port number).
>>
>>
>> On Sunday, August 30, 2020 at 7:37:09 PM UTC-7, Morgaine O'Herne wrote:
>>>
>>> Hi all. I have 3 wikis running on node.js on my computer. They each
>>> connect through a different port number. I want to be able to access any of
>>> them in the browser at any time without pulling up the terminal. I believe
>>> I remember doing this before, but I don't know how. How do I make my wikis
>>> permanent?
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/tiddlywiki/XS0lO3_FSlo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/9a17251d-8ace-4a6b-9a86-6c61d6b9e2f9o%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/tiddlywiki/9a17251d-8ace-4a6b-9a86-6c61d6b9e2f9o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/7cac7d34-c76a-4826-a561-7619870453bao%40googlegroups.com.