I have a problem when connecting Fiddler and my mobile with Android 9.
I installed Fiddler (tried on Windows 7 and Windows 10) and configured it with "allow remote connections". Then configured Android device from
https://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureForAndroid
Both the computer and the device are at the same network with router (wifi and cable for the computer). I use VPN. Router passes VPN connections (I see necessary sites on the computer and the device with strongSwan).
Restarted Fiddler and reconnected wifi on the device. Wifi icon is "Connected".
Through VPN I get a special part of the site configured in hosts.
Like 10.10.10.10 firstsite.com www.firstsite.com secondsite.com
On Windows when I enter firstsite.com it goes to 10.10.10.10. This is correct.
On Android when I enter firstsite.com it goes to firstsite.com, but I need it to go to 10.10.10.10.
Fiddler folder is in firewall exceptions. IP is static.
Please, help me. I tried many things found in Google but without success.
Works on Windows 10. Very wild thing: when setting wifi it is necessary to delete wifi and then setup proxy and port then password and then connect. Connect vpn on the computer and the device. If no luck restart computer, fiddler and the device (don't forget to turn on vpn). After it I was able to open the necessary site 10.10.10.10 on Android 9 pie.
Related
edit: I found my answer
I already know that if I would have a smartphone with an internet connection, I can share the connection through the Every Proxy app. This app allows to have an http proxy, and when you share your internet through usb cable, you can enter the proxy that the app has given, on windows. It's actually more helpful if you want to share your vpn connection.
I want to do the same, but in nox. I turn on my vpn and install Every Proxy on nox. The IP address the app give is 172.16.24.15. but trying this in windows; has no result.
I also used Fing to see my simulator IP address and it is 172.16.25.2 for the simulator router and 172.16.25.15 for the android itself.
in the system settings of nox > device > enable network bridge mode > DHCP, I get the IP address 192.168.1.3. now when I turn on Every Proxy, I set the IP address 192.168.1.3 instead of the previous 172.16.24.15. so I can use this new IP in windows settings and it works.
I've connected my Android device to my PC wi-fi using an application called Connectify , which make it easier to browse the internet using PC'S internet connection , when I did make connection to a web server using my android device , Fiddler didn't capture the traffic .
I am using windows 7
Routing my Android Wi-Fi connection to a proxy doesn't work , my router redirects all requests from local network to the Log in page to the router settings
To monitor the network traffic of an Android device using fiddler
Open Fiddler on your pc
Go to Tools >Fiddler Options >Connections. Make sure 'Allow remote computers to connect' is checked'.
In your android device, go to your wifi settings, long press on your current Wifi and click on 'Modify network'
Click 'Advanced Options' and set proxy to manual.
Under 'proxy hostname', enter the local IP of your computer.Under 'proxy port', type '8888' (this is the default port that fiddler listens on)
Now, you should be able to see the Android network traffic on your fiddler.
Hope this helps :)
First of all, do not use the Connectify. Uninstall it.
Follow the exact instructions on the fiddler documentation. It has screenshots for setting up the proxy and everything.
Make sure that your PC shares its internet connection when you first connect it to your wifi network.
Do not attempt this at a coffee shop or in an hotel, where wifi isolation is often practiced as a security measure.
It goes without saying, do not forget to turn off the mobile data of your android device.
I'm debuging an android application using my android smartphone (Sony Experia) and I need to connect to the computer's local host through the android app I'm developing. I tried several methods (USB tethering, Wifi hotspot) but I couldn't achieve it. Please support me with a solution. I know that simply 10.0.2.2 is working well on the android AVD but I've no idea about real devices.
I'm using Microsoft Internet Information Services (IIS) as my server and the web application is also running well. I don't know whether the firewall is blocking the port or not.
This should work:
Unplug all the network cables on the computer and turn off your wifi.
Turn off the wifi on your Xperia.
Connect your Xperia to your computer via USB Turn on "USB Tethering" in the android menu. (Under networks-> more...-> Tethering and portable hotspot")
Get the IP of your computer that has been assigned by the USB
tether cable. (open command prompt and type "ipconfig" then look
for the IP that the USB network adapter has assigned, It is Under 'Ethernet Adapter Local Area Connection' title. The Value for the IPv4 address is the One you need.)
Open a browser on the PC using the IP address found instead of
localhost to test. i.e.
http://192.168.1.1/myWebSite
Open a browser on the android and it should work.
If it is working on your PC but not in your device, You have to allow your http through firewall.
Follow How to enable sharing of web site on localhost? to do it.
I am developing an Android app, and testing that on a real device.
I have a localhost server set up on my computer, and I want to the device to make request via my computer so that can access to this localhost environment in my computer.
I'm wondering if there is any tool in the adb shell that could allow me to proxy all network activity of the device by my computer, so it can access my localhost service?
NOTE: I know it works on emulator, I am just asking if this is possible on a real device.
Thank you
Install Fiddler on your computer, then on your android device connect to WiFi, long press your wifi configuration and choose modify network, then choose show advanced options and set the proxy field to your PC's IP address
I tried to connect to a localhost on my windows PC from Android devices but it doesn't work at all.
I host it using ISS Express (installed with VS2013)
I tried http://10.0.2.2:59087 and my ip http://192.168.43.83:59087
I connected them using an AP from my Android and from the router
I also disabled windows firewall
All this configurations but nothing is changed
What is the problem?!!!
you HAVE to be in the same network for this to work, that's all, you don't have to go through all that trouble, if you are in the same network, then you can access your ip easily just make sure your windows side server (eg: localhost:8080) is active and accessible