View Single Post
Old 07-28-2020, 08:18 AM   #722
Randy11
Wizard
Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.
 
Posts: 1,138
Karma: 1577094
Join Date: Oct 2008
Device: Samsung EB60, Onyx M92, Onyx Max2
Quote:
Originally Posted by mdp View Post
YES!

Quote:
Originally Posted by 2new View Post
Can anyone confirm if:

adb reverse tcp:80 tcp:80

Lets you connect to the internet or localhost through the USB cable?
Much appreciated. Considering buying if it does.
It works!
Tested with a Max2, old firmware.
In the attached picture, I connect via web browser to a GIS server I keep on my desktop computer (as http://localhost:8080/ ). I trust that also VNC connections etc. will work as they should.

I did not know the `adb reverse` trick! Hippocrates was so right.

Much appreciated yourself!
Hello,

I try this with my Max 2 (Update 2.3.1) under Debian/Buster and Manjaro/Lysia :
Code:
$> adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
0123456789ABCDEF	device

$>adb reverse tcp:80 tcp:80
adb: error: cannot bind to socket: Permission denied
$> adb reverse tcp:5900 tcp:5900
$>
I've tried :
Code:
$>adb root
* daemon not running; starting now at tcp:5037
* daemon started successfully
adbd cannot run as root in production builds
$>
$>adb kill-server
$>sudo adb root
[sudo] Password for xxxx *: 
* daemon not running; starting now at tcp:5037
* daemon started successfully
adbd cannot run as root in production builds
$>sudo adb reverse tcp:80 tcp:80
adb: error: cannot bind to socket: Permission denied
Any idea ?
Randy11 is offline   Reply With Quote