Hi, I would first to set everything up with client and server inside your home network. "Could not connect to server" in the Android client is about the sync protocol, not the web review protocol, so it's port 8512 you need to open on your firewall. On Windows, make sure 'allow other devices to sync with this computer' is checked, and that Mnemosyne is running there.
Then, as a next step, try setting it up with your Android outside of your home network. For that case, the fileserver needs to have the externally visible IP address of your router, and you need to set up port forwarding on your router to forward port 8512 to your windows machine. Or, you could just opt to only sync if you're at home, because you don't need to be connected to the network in order to do your reviews. Good luck! Peter > -----Original Message----- > From: [email protected] [mailto:mnemosyne- > [email protected]] On Behalf Of [email protected] > Sent: 30 April 2014 23:21 > To: [email protected] > Subject: [mnemosyne-proj-users] python android client > > Hello guys, > > I've tried to install mnemosyne on my smartphone, but it doesn't work. I > always get the message "Could not connect to server" on the smartphone. > > This is what I have tried: > 0. uninstalled mnemosyne on windows, reinstalled newest version, installed > newest version of python mnemosyne client 1. added exception for firewall > (mnemosyne.exe in C:\Program Files (x86)) 2. disabled firewall in MS > Windows 3. changed port, changed it back to 8080 afterwards > (mnemosyne.py) 4. used "localhost" as IP instead of 192.168.1.2 > (mnemosyne.py) <-- Sync Server IP 5. uploaded database to sdcard manually > > I've tried to install the beta in the past, therefore I've used the old > version of > "sl4a" and python. > > The config in mnemosyne.py: > > data_dir = "/sdcard/Mnemosyne/" > filename = "default.db" > sync_server = "192.168.1.2" > sync_port = 8080 > sync_username = "Tester0007" > sync_password = "password" > > Any ideas? Do I need to enable port forwarding? > > Greetings, > > Abakus > > > -- > 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 post to this group, send email to mnemosyne-proj- > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mnemosyne-proj-users/a2e80db0- > d35a-43c4-bf2c-0e061adcb529%40googlegroups.com > <https://groups.google.com/d/msgid/mnemosyne-proj-users/a2e80db0- > d35a-43c4-bf2c- > 0e061adcb529%40googlegroups.com?utm_medium=email&utm_source=foo > ter> . > For more options, visit https://groups.google.com/d/optout. -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/004801cf6501%249fb22a60%24df167f20%24%40UGent.be. For more options, visit https://groups.google.com/d/optout.
