store.php isn't saving over LAN after ISP change

86 views
Skip to first unread message

Ivan Aparicio

unread,
Jan 26, 2018, 3:31:27 AM1/26/18
to TiddlyWiki
Hi All,

First, tl;dr - I'm serving a TW5 at home using store.php, and can't save to it over LAN (using the local IP address), however I can save to it from work outside of my LAN (using my public IP with port forwarding).

So I changed ISP again. Before everything was running great - I accessed my TW through a domain name provided by no-ip (a dynamic DNS).

My new ISP has given me a router that doesn't allow loopback (for security they say). That means that when I'm at home, instead of using my domain name, I need to use my local IP address.

The TW opens fine, but I can't save to it on my LAN at home. I can save to it using my domain name at work (though it sometimes takes a while). In the TW settings, I had set up the domain name as my server URL, and I think this is where the problem lies.

Does anyone know of a way I can save the TW using more than one server URL (the local IP and the domain name)?

Thanks!


TonyM

unread,
Jan 26, 2018, 8:24:16 AM1/26/18
to TiddlyWiki
At the same time you are serving it over php is there any reason you can't also access it on local host or Lan IP address with TiddlyServer?

Regards
Tony

Ivan Aparicio

unread,
Jan 26, 2018, 10:41:27 AM1/26/18
to TiddlyWiki
Hi Tony,

I hadn't heard of tiddlyserver. I am serving my TW from home using a raspberry pi and store.php which I got from here:


I think that the reason I can't access it over LAN is that in the TW5 control panel under the 'Saving' tab, there is only space for one 'Server URL', and I am trying to access it from two different server URLs (the LAN one, and the internet).

Would tiddlyserver allow me to host my TW from home?

Thanks!

Mark S.

unread,
Jan 26, 2018, 11:13:32 AM1/26/18
to TiddlyWiki
You don't mention what machine you are using at home to connect to your PI.

I'm wondering if you could add an entry to the host file of your local PC that would over-ride your named connection to no-ip with your PI local address.

Good luck,

-- Mark

Ivan Aparicio

unread,
Jan 26, 2018, 11:38:29 AM1/26/18
to TiddlyWiki
Hi Mark,

I tried connecting on both a macbook air and a thinkpad running Fedora 26. I'll try to change the hosts file once I get home. Is the idea to redirect the internet URL to my local IP address?

Thanks

Mark S.

unread,
Jan 26, 2018, 11:46:14 AM1/26/18
to TiddlyWiki
Yes, that is the idea.

Ivan Aparicio

unread,
Jan 27, 2018, 2:52:02 AM1/27/18
to TiddlyWiki
Mark,

That worked! I added a line in /etc/hosts as below:

<server local IP> <server public URL>

I can now access my TW by using the server public IP at home and save it with no problems.

Thanks!
Reply all
Reply to author
Forward
0 new messages