Comments (17)
Please try the following steps to get a direct connection. It worked for me.
- First, add a new port mapping for TCP port
3129
to your container configuration (-p 3129:3129
). - Open the JDownloader UI.
- Go to
Settings
->Advanced Settings
. - Search for
MyJDownloaderSettings
. - Set
Custom Device IPs
to the IP address of the host running the container, between double quotes (e.g."192.168.1.1"
). - Change the
Direct Connection Mode
toAllow lan/wan connections with manual port forwarding
. - Restart JDownloader.
from docker-jdownloader-2.
Dauhonks approch works perfect:
- JDownloader Settings -> Advanced Settings -> Search "Flashgot" -> uncheck "will listen on localhost only" (restart required)
- Add port forwarding for CNL to Docker start arguments: “-p 9666:9666”
But i wanted to add:
- On your "windows client" redirect the local port 9666 to the jdownloader docker image by typing in CMD:
netsh interface portproxy add v4tov4 9666 IP_OF_DOCKER 9666 127.0.0.1
from docker-jdownloader-2.
Already implemented. Use myjdownloader
from docker-jdownloader-2.
Nice, didn't know My JDownloader was capable of that. Guess I'm switching to plusminus/jdownloader-headless though.
Edit: Nevermind, this is actually better than running it completely blind.
from docker-jdownloader-2.
These settings need to be changed to activate CNL for the docker JDownloader container:
- JDownloader Settings -> Advanced Settings -> Search "Flashgot" -> uncheck "will listen on localhost only" (restart required)
- Add port forwarding for CNL to Docker start arguments: “-p 9666:9666”
- On client side install “Click'n'Load request proxy” add-in and configure Docker host IP (firefox/chrome)
from docker-jdownloader-2.
What I noticed: MyJDownloader would use the local IP of the JDownloader, if it were not running inside docker, when contacted in lan. I cant run the container in host mode (mainly because of VNC), so the internal IP reported to myJDownloader by this will always be the 172.X.X.X variant.
Have you guys found any way to override this with the docker host ip? This would dramatically increase the snappyness of MyJDownloader in the local network (have verified with a native JD2 install).
from docker-jdownloader-2.
I guess you are talking about the MyJDownloader Browser Extension?
from docker-jdownloader-2.
And the mobile app.
Both will try to reach the docker bridge subnet first, the myjdownloader connection second (relayed over WAN). Since the bridge subnet has an IP range unavailable to the LAN, both the extension and app have constant connection issues. They work, but slowly.
Any idea where we can override or spoof the docker host IP "into jdownloader"?
from docker-jdownloader-2.
What I noticed: MyJDownloader would use the local IP of the JDownloader, if it were not running inside docker, when contacted in lan. I cant run the container in host mode (mainly because of VNC), so the internal IP reported to myJDownloader by this will always be the 172.X.X.X variant.
Thanks for the great find! I also found that standalone install of JD2 is running much better in MyJdownloader than the docker one. Just didn't realize that using host instead of brigde would fix this problem! I've nothing against running it at host network so now my JD2 is running almost as smooth as standard installation.
from docker-jdownloader-2.
How did you get this running in host mode?!
from docker-jdownloader-2.
I am running it at nas with openmediavault as OS. It has plugin for docker with nice GUI so I just switched from Bridge to Host in that GUI, restarted container and that's all. But I don't use vnc so I don't know if it can couse any problems.
from docker-jdownloader-2.
Ah, I am running Unraid, which has its own Desktop GUI built in.
If I switch to host, the docker container complains, that another x-Server (that of UNRAID) is already running.
Can't use host mode, sadly.
from docker-jdownloader-2.
Have you tried another jdownloader image? On another machine I'm using plusminus/jdownloader-headless which also works fine. It just doesn't have webpage, being used just through MyJdownloader website. Can't decide which one top use so I use both. It is jd for headless systems and should not have any conflicts with x-server.
from docker-jdownloader-2.
Oh god, this is so much better!!! Thank you @jlesage this is all I ever wanted!
from docker-jdownloader-2.
Do I still need a MyJDownloader account to communicate between my docker container with jdownloader and my browser running on a different computer? I dont want to share data my data with my.jdownloader.org for privacy reasons.
from docker-jdownloader-2.
Do I still need a MyJDownloader account to communicate between my docker container with jdownloader and my browser running on a different computer? I dont want to share data my data with my.jdownloader.org for privacy reasons.
No. If the ports below are forwarded to your network and your client computer is on the same network you can directly communicate with jdownloader:
5800/tcp --> WebGUI (your Browser)
5900/tcp --> VNC (e.g. tightVNC Client)
9666/tcp --> CNL (via Browser CNL plugin or SSH tunnel (e.g. PuTTY))
No need for a myjdownloader account
from docker-jdownloader-2.
Thanks for answering. Can you recommend a click'n'load firefox addon and explain how to configure it? I thought port 3129 is there for direct connection. Also is it possible to redirect and solve captchas with the click'n'load addon?
from docker-jdownloader-2.
Related Issues (20)
- [Feature request] Allow to change title in the navigator
- Ovagames not working anymore asking for password HOT 3
- [Bug] CJK-font installation failed HOT 1
- [Feature request] Support chrome clipboard HOT 3
- [Bug] Reconnect script does not run HOT 16
- [Feature request] Allow to set permission of package folder HOT 6
- Rapidgator shows "not online", but all other work HOT 6
- [Bug] Pasting not working to web interface (container running on Synology) HOT 9
- [Bug] Google drive plugin outdated HOT 3
- on Qnap ts-251 cannot open the docker HOT 21
- [Bug] No Access via 5900 after Update HOT 2
- [Feature request] Provide a license
- [Bug] ~4% CPU usage in idle HOT 5
- [Feature request] Increase max RAM? HOT 6
- [Bug] Container restarts after initial start HOT 5
- [Bug] JDownloader won't load properly HOT 4
- [Bug] Curl command in reconnect script doesn't work HOT 3
- myjdownloader doesn't communicate with jdownloader container HOT 4
- [Bug] Docker container fails to start on every second try with `Directory not empty` HOT 1
- [Bug] JDownloader does not start anymore - Synthetica license outdatet HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-jdownloader-2.