Glad that's solved!

Peter

On Tue, Dec 21, 2021 at 2:00 PM Dorian Minors <[email protected]>
wrote:

> Morning,
>
> No, you did plenty. I just needed to know that the app was already bound
> to 0.0.0.0.
>
> It was the IP address that mnemosyne was showing me that threw me off. A
> red herring in this case. The subtleties of networking are also beyond me.
>
> It was my fault as I suspected. I misconfigured my firewall!
>
> Warm regards,
>
> Dorian
>
> On Monday, 20 December 2021 at 9:04:05 pm UTC Peter Bienstman wrote:
>
>> Hi,
>>
>> I guess after editing the file, you installed the updated version with
>> 'sudo python setup.py install'?
>>
>> Apart from that, I'm afraid the subtilities of VPNs and networking are
>> also beyond me. I merely looked up the instructions of how to bind the wsgi
>> server to localhost, but that's it...
>>
>> Peter
>>
>>
>> On Mon, 20 Dec 2021, 20:37 Dorian Minors, <[email protected]> wrote:
>>
>>> Evening,
>>>
>>> Thanks for the quick response.
>>>
>>> OS: ubuntu server.
>>>
>>> It didn't seem to help. I still can't access web or sync servers using
>>> the vpn ip address. Do I need to do something other than change the file in
>>> the directory I installed from?
>>>
>>> I unfortunately don't know enough about networking to really know how to
>>> help debug this. Some notes that might help(?):
>>>
>>> My vpn runs on 10.0.0.x range.
>>> Mnemosyne sync/web server will give me an ip address in the 10.x.0.x
>>> range.
>>> My router gives out addresses in the 192.168.1.x range.
>>>
>>> To connect to syncthing gui, I simply go to 10.0.0.#:<port>.
>>> Similarly, all my reverse proxy passes forward to 10.0.0.#:<port>
>>> But going to 10.0.0.#:<mnemosyne-port> times out (sync server) or fails
>>> (web server).
>>>
>>> I know that to get syncthing to work on the vpn I needed to get it to
>>> accept connections from the network (change to 0.0.0.0 from 127.0.0.1):
>>> https://docs.syncthing.net/users/guilisten.html
>>> Since you're already doing that, I suspect that I'm doing something
>>> weird or incorrect.
>>>
>>> Warm regards,
>>>
>>> Dorian
>>> On Monday, 20 December 2021 at 9:58:52 am UTC Peter Bienstman wrote:
>>>
>>>> Hi,
>>>>
>>>> Which OS are you using?
>>>>
>>>> For Linux, can you check if the following change helps you:
>>>> https://github.com/mnemosyne-proj/mnemosyne/blob/master/openSM2sync/server.py,
>>>> line 100 change 0.0.0.0 to 127.0.0.1
>>>>
>>>> For Windows, I can make a tryout version which has this change.
>>>>
>>>> Once we confirm that this helps you, I can make it configurable through
>>>> config.py.
>>>>
>>>> Cheers,
>>>>
>>>> Peter
>>>>
>>>> On Sun, Dec 19, 2021 at 10:01 PM Dorian Minors <[email protected]>
>>>> wrote:
>>>>
>>>>> Hello!
>>>>>
>>>>> I use a vpn to get in and out of my home server remotely.
>>>>>
>>>>> I'd love to do the same with mnemosyne. Is there any way to get my
>>>>> mnemosyne sync server and web server to run at localhost rather than
>>>>> whatever ip it chooses, so I can just access them through my vpn? I can't
>>>>> see any options for this in config.db.
>>>>>
>>>>> Warm regards,
>>>>>
>>>>> dorian
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "mnemosyne-proj-users" 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/mnemosyne-proj-users/8ae79f44-75fe-4b54-8133-72879272c868n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/8ae79f44-75fe-4b54-8133-72879272c868n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "mnemosyne-proj-users" 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/mnemosyne-proj-users/4c033007-240b-458a-85d4-3d10318b7b23n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/4c033007-240b-458a-85d4-3d10318b7b23n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" 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/mnemosyne-proj-users/28bf6704-809a-4ff2-8fef-69c4b00051bfn%40googlegroups.com
> <https://groups.google.com/d/msgid/mnemosyne-proj-users/28bf6704-809a-4ff2-8fef-69c4b00051bfn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" 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/mnemosyne-proj-users/CAMdxoPGcGztgyWXfh%3DOmt9cxvPpjiOiT%2BsAjuLrEW3qPtPzKcw%40mail.gmail.com.

Reply via email to