I have a simple question:
I'm installing openERP server in my computer.
and i can conncte to it by typing "http://localhost:8069" in google chrome.
Now I ask if i can connect to my openERP server from others computers and from my mobile android in my locale network.
EDIT:
so this is my situation:
I have developped an application android to connect to an openERP.then i am installed openERP (all-in-one) on my computer.the application turn good on the emulator, now i want to connect from my phone android.
but when i typing (my_ip:8069) from my application in my phone,i can't acces to my computer.
so tell me if it is possible or no,if yes how can i do it.
thanks for suggestions.
You can connect by using IP of that computer.
IP:8069 from any computer in that network.
Try disabling your firewall, it worked for me.
Related
I try to browse localhost on my samsung device. I connected my device with eclipse via wifi. browsing http://192.1.1.190 I get a "Page not avialable. I remember, some days ago it worked
but on the emulator I am able to browse localhost.
I searched on google not able to find the correct ideas.can any one know about this.
any ideas? regards
I am currently building an Android app on the side and struggled with this problem. One solution here would be to connect your Android phone to a WiFi network which your Android Studio is also connected.
Then, when you debug your app from Android Studio, the phone should be able to access the IP address corresponding to localhost.
Yes i connect android device with wifi.but my laptop wifi ip and device ip is showing different ip numbers.so i cant able to access the localhost on android device especially.
am having problems with when connection my phone to laptop(screen goes crazy) and its impossible to test apps, so I was wondering is it possible to connect via bluetooth so that apk is built and I can test them on phone? ty
These links will help you. For Linux:
http://zcourts.com/2013/07/19/android-debugging-over-bluetooth-without-root/#sthash.ZPG8TrnC.dpbs
For Windows:
http://blog.wijono.org/2014/01/android-connecting-adb-to-physical.html
Okay so here is the background of this problem. I commute a lot on the train and build a lot of PHP web apps optimized for mobile devices. I would like to develop code on a netbook (Running Ubuntu Server) with no GUI. All development done using Vim directly on the netbook.
I would like to connect up my Nexus 4 to the netbook via USB and "connect" to the netbooks web server in the chrome browser. I can only use USB for this since I won't be having any reliable internet access.
I understand that using adb from the Android SDK, you can forward a port from the netbook to the phone. However, I need to do it the other way around.
For example:
Run a web server on the netbook on port 4000
Connect phone via USB
Somehow forward port 4000 on the phone to port 4000 on the netbook
Open chrome browser on phone and go to localhost:4000.
I am aware of the "reverse port forwarding" method that is described in the Google docs at https://developers.google.com/chrome-developer-tools/docs/remote-debugging. However, this requires an installation of chrome on the netbook. I don't want to have to install an entire GUI just for this.
Update
With regards to the above, I have found https://groups.google.com/a/chromium.org/forum/m/#!topic/chromium-reviews/7mE61hDcFdA. Does this mean I could install Chrome on the netbook (even though I don't have a GUI) and port forward via CLI?
An APP might do the job here. If you know some java you might be able to pull it off. Basicly you tunnel a connection through adb, then use an app as proxy and a small program on the computer. There might be an easier way though
I am developing a Wordpress site in Linux using LAMP environment. I want to test the look and feel of the site in a mobile device. I have an android device.
Is it possible to test my Linux localhost site in an android device using wifi or USB? If yes, how?
Using - Ubuntu 12.04 - XAMPP Linux 1.8.0 - Android 4.0
Note: Before you dismiss this question as possible duplicate, I checked the stackoverflow questions but nothing helped.
Open for editing!
If both your device and your LAMP setup are on the same network, no problem. Just let the URL (on Android) be the IP- adress of your Site (for example http://192.168.0.5/yourwordpresssite)
You can also use an android emulator. The emulator has access to the loopback address via 10.0.2.2.
see: http://developer.android.com/tools/devices/emulator.html#emulatornetworking
I'm having Samsung Galaxy S phone.
I want to debug my application, which needs internet connection.
can I debug my app with android device, sharing the PC internet connection through USB?
I can not use WiFi.
Please help me out. Thanks in advance
Getting the internet from your PC to your android device is called reverse tethering. It is tricky cause it s not a built in feature. Some solutions exist if your a linux user :
http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
Previous link is dead, found a copy there:
https://web.archive.org/web/20120320173806/http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
Don't know if it's still relevant the question is old considering Android lifetime.
If you are not, well I never find a way.
There are two current (2019) tools that do this job well:
gnirehtet
This project provides reverse tethering over adb for Android: it allows devices to use the internet connection of the computer they are plugged on. It does not require any root access (neither on the device nor on the computer). It works on GNU/Linux, Windows and Mac OS.
It's written in Rust and Java; you can choose the server component. It requires adb on the host, and at least Android 5.0. The device itself will then be managed by the program.
SimpleRT
Reverse Tethering utility for Android.
Allows you to share your computer's internet connection with your Android device via a USB cable
This one requires no adb and no rooting, but you have to build the Android APK file yourself or download a release version.