Open GoogleCodeExporter opened 8 years ago
I got this error in my LG OPtimus 2x (running Andorid 2.3.4) and in some other
devices.
But even the message, the iptables works fine for this function...
If you cant tell my the device I can try to test it there...
Original comment by joanpuig...@gmail.com
on 11 Mar 2012 at 2:39
I am using the HTC Sensation. What do you mean it works fine?
I try to tell the software to use port 80 and it doesn't ask for root and
simply says that iptables weren't found.
Original comment by tyler.tr...@gmail.com
on 11 Mar 2012 at 2:46
I mean that when I type the command, it shows me the error, but the nat is
working.
Did you try to run the the command (iptables -t nat -A PREROUTING -p tcp
--dport 80 -j REDIRECT --to-port 8080) and then run servDroid on port 8080? In
theory you should be able to request the web server on port 80
What the app does is first check if the iptables is there... so if the app
doesn't find the iptables, it doesn't ask for root permissions
here you can find more info:
http://code.google.com/p/servdroidweb/wiki/Use_port_under_1024
Original comment by joanpuig...@gmail.com
on 11 Mar 2012 at 2:58
I ran the command, left Terminal open in background, made sure ServDroid was
set to 8080, started server, tested it like regular (127.0.0.1:8080) and it
worked fine, tested it on (127.0.0.1:80) and it failed.
Could this be an ICS problem?
Original comment by tyler.tr...@gmail.com
on 11 Mar 2012 at 3:05
wow... I will test it on Monday with a 4.0 device. But did you run it as a
superuser??
It could be a ICS problem. I've seen that this message is displayed for a lot
of users, but even so, the iptables works.
Original comment by joanpuig...@gmail.com
on 11 Mar 2012 at 3:10
I did run it as root (superuser), and I have the latest su binaries as well.
Thanks for looking into this!
Original comment by tyler.tr...@gmail.com
on 11 Mar 2012 at 3:14
I was not able to reproduce this bug with an rooted Android 4.0 :(
Original comment by joanpuig...@gmail.com
on 15 Mar 2012 at 12:05
I just tried it again. Went to terminal, typed su, hit enter and got a root
shell, typed iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT
--to-port 8080, got the error message, hit the home key and ran and started
ServDroid, did not work on port 80. And I did make sure the program was set to
port 8080 before I started.
Original comment by tyler.tr...@gmail.com
on 15 Mar 2012 at 1:06
Could this have something to do with my kernel? Or my ROM, ARHD 6.5.0 for the
HTC Sensation?
Original comment by tyler.tr...@gmail.com
on 15 Mar 2012 at 1:58
Definitely yes, is something related to the kernel that your ROM has. I've been
cheeking this issue and there are some ROMs with this problem. What ROM are you
using??
Original comment by joanpuig...@gmail.com
on 15 Mar 2012 at 3:58
Android Revolution HD 6.5.0 for HTC Sensation.
Should I try using different kernels?
Original comment by tyler.tr...@gmail.com
on 15 Mar 2012 at 4:15
Maybe... or update to 7.0 version and give it a try
http://forum.xda-developers.com/showthread.php?t=840040
Original comment by joanpuig...@gmail.com
on 15 Mar 2012 at 4:50
That's the wrong ROM, I have the HTC Sensation, not the Desire
Original comment by tyler.tr...@gmail.com
on 15 Mar 2012 at 4:55
Did you install Busybox ??? I've got mine running on a HTC Sensation on Port
80 with no problem. Busybox installs all the other unix tools you need such as
iptables.
Original comment by blisssh...@gmail.com
on 6 Aug 2012 at 4:50
Original issue reported on code.google.com by
tyler.tr...@gmail.com
on 11 Mar 2012 at 2:32