rajkotraja / remotedroid

Automatically exported from code.google.com/p/remotedroid
0 stars 0 forks source link

Wrong IP address reported by server #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In Ubuntu 9.10 32-bit using either Sun or OpenJava, my IP address is
reported as 127.0.1.1 rather than 192.168.1.100.

See screenshot for details.

Original issue reported on code.google.com by garethda...@gmail.com on 14 Mar 2010 at 12:39

Attachments:

GoogleCodeExporter commented 9 years ago
I have similar issue on Windows 7

Original comment by ahmad.mu...@gmail.com on 21 Mar 2010 at 8:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
in case you were having this problem and felt remotedroid was unusable: if you 
enter your computer's actual IP 
address into your android phone, regardless of the fact that the remotedroid 
app on yoru computer reports the 
loopback address, everything will work perfectly.

great app! thank you :)

Original comment by computer...@gmail.com on 5 Apr 2010 at 10:49

GoogleCodeExporter commented 9 years ago
I've attached a suggested patch for this issue, it certainly works for my Linux 
machine, I've not tested it on any other operating system.

Original comment by rich.mid...@gmail.com on 8 May 2010 at 8:26

Attachments:

GoogleCodeExporter commented 9 years ago
Works for me! Thanks!

However I had a four code errors that Eclipse offered to sort and after 
accepting allowed 
it to compile. Then I had a file not found error. /res/config.xml wasn't 
discoverable. 
Looking into the AppFrame.java code I changes this line (186) from this
basePath = System.getProperty("user.dir") + "\\res\\";
to this:
basePath = System.getProperty("user.dir") + "/res/";

Original comment by angela.s...@gmail.com on 9 May 2010 at 3:19

GoogleCodeExporter commented 9 years ago

1. Unable to connect to it in lucid lynx Kubuntu 10.04
2. Forwarded the ports in router computers IP address
3. I have tried opening the ports 57710 and 64788 in linux and cannot connect on
either port, keep getting connection refused on phone.

In windows it works just fine without forwarding the ports in the router. When
loading the .jar file, it reports my IP address as 127.0.0.1 I have tried that 
on the
phone as well computers IP address. 

Please any ideas?

Original comment by robertsaron on 10 May 2010 at 5:27

GoogleCodeExporter commented 9 years ago
Hi, i've had the same problem, but i don't know how to apply de patch... Can 
anyone help me? I'm using Debian Squeeze...

Original comment by guil...@gmail.com on 23 Jun 2010 at 8:26

GoogleCodeExporter commented 9 years ago
My issue is similar but instead of the server reporting an i.p. of 127.0.0.1 I 
get:

java -jar RemoteDroidServer.jar
Your IP address is: Error finding local IP.

 % which ifconfig
/sbin/ifconfig

Entering the IP of the pc running the server does not allow a connection from 
my HTC Magic

What is the expected output? What do you see instead?
Expected connection to the server from phone.
Nothing happens, not even an error.

What version of the product are you using? On what operating system?
RemoteDroid-v1.4.apk     Mar 01  
RemoteDroid server v1.4  Mar 01
OS: Debian Sid 
Phone: HTC Magic 

If I had any idea how to apply the patch and recompile I would.  Is there a 
patched .jar available for download?

Original comment by glenn.gr...@gmail.com on 11 Jul 2010 at 3:22

Attachments:

GoogleCodeExporter commented 9 years ago
I applied the patch rich.mid...@gmail.com above attached and compiled a new jar 
(which also has patches for Issues #22 and #33 applied), for you to test.

Let us know how it goes.

Alex Deriziotis

Original comment by derizio...@gmail.com on 11 Jul 2010 at 12:57

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thank you Alex Deriziotis, this .jar does work but so does the Mar 01 version.  
:)  The problem was not with RemoteDroidServer.  Instead my /etc/hosts file was 
incomplete.  Once adding an appropriate entry as documented here: 
http://www.debian.org/doc/manuals/reference/ch05.en.html things began to work.

grep $HOSTNAME /etc/hosts
192.168.0.103 hestviken2

Thanks again!

Original comment by glenn.gr...@gmail.com on 14 Jul 2010 at 4:09

GoogleCodeExporter commented 9 years ago
Seemed to report ipV6 address on newer linux hardware, i added a filter to the 
server to only use IPv4

Original comment by onecs...@gmail.com on 6 Sep 2010 at 7:27

GoogleCodeExporter commented 9 years ago
I had the 127.0.0.1 problem until I used the Deriziotis version. Now the server 
shows the correct IP address, the left and right buttons work, the keyboard 
works, but the mouse cursor won't move. Frustratingly close to being useful! 
Anyone have an idea?

Original comment by ett...@gmail.com on 20 Nov 2010 at 1:38

GoogleCodeExporter commented 9 years ago
How can I specify the correct ethernet device to use with RemoteDroid?

I have VMWare installed.
VMWare creates two ethernet devices: vmnet1 and vmnet8
When RemoteDroid launches, it picks up an internal IP assigned to from vmnet8.

I am using RemoteDroid1.5 from the official site.

Original comment by crzyru...@gmail.com on 18 Aug 2011 at 10:36

GoogleCodeExporter commented 9 years ago
I have this exact same problem:

"Your IP address is: Error finding local IP."

I've set then the IP on the /etc/hosts file and it now I can see my ip on the 
application window.

However, remote mouse and keyboard aren't working, I can detect the 
communications with wireshark and they seem fine.

Original comment by heavy.l...@gmail.com on 12 Nov 2012 at 10:30

GoogleCodeExporter commented 9 years ago
Not sure if it's the same issue but I was getting an incorrect 192.168.x.x 
address on Win7 x64 on version 1.5

with the version attached on Jul 11, 2010 it seems to correctly find my 
10.0.x.x ip

Original comment by chromableedstudios on 20 Mar 2014 at 12:59