-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v055c: Unable to share file through termux python over http.server over LAN #1356
Comments
Thanks. In general, we haven't checked if unconnected UDP sockets and server TCP sockets work in all scenarios as at least running TCP servers is a very uncommon thing to do (unconnected UDP sockets are slightly more common but apps don't rely on it solely so it never manifests as a bug, except in cases where it does: #1323). Two ways to work around this problem:
|
Thanks @ignoramous . That works! It would help if the Network log showed that it was being blocked and also why it was being blocked. |
It isn't blocked. I believe Android doesn't even send us the packets for server TCP sockets. I might be wrong. As mentioned above, we haven't really dug in to this. |
In To toggle this behaviour, go to turn ON/OFF Configure -> Network -> Loopback proxy forwarder apps (to be clear, in this case, OFF is what would "exclude" Termux and hopefully make it work). |
|
Steps to reproduce:
Install ReThink v0.5.5c
Install and open Termux.
Install python in termux -
pkg install python
echo test > test.file
in termux.Start http-server -
python3 -m http.server 12345
curl -O http://<LOCAL_IP_ADDRESS_OF_YOUR_ANDROID_DEVICE>:12345/test.file
on a different computer on your local network. This step fails unless you turn off Rethink altogether. Switching to DNS only or Firewall only mode in ReThink doesn't work.Also the Network log and DNS Log on ReThink shows nothing regarding this request.
I remember an older version of ReThink used to work on Step 5.
Thanks.
The text was updated successfully, but these errors were encountered: