简体   繁体   中英

How to see network packets in Android?

I am looking to see when and which apps are accessing the network from my Android Phone. I am looking for something like Wireshark but for Android. I found Shark for Root but it requires a rooted phone, I dont have one.

Is there a way to see the network traffic from each app?

You cannot monitor your own network on the android phone without root, but here is how you can do it on a computer (doesn't require root)

If you are on a windows PC, try the following:

  1. Install fiddler2
  2. Open and go to Tools > Fiddler Options > Connections > check Allow Remote computers to connect
  3. Optional - uncheck act as system proxy on startup (to prevent you from getting traffic from your pc)
  4. Restart fiddler
  5. Go to wifi settings > touch your connected wifi network for 4 seconds > choose modify network config > show advanced options > Proxy > Manual > hostname > YOURCOMPUTER NAME OR IP > Proxy port > 8888 (or what you set it to in fiddler2)
  6. Enjoy

PS If you are on MAC there is charles, if you are on another OS you can search for "fiddler2 OS_NAME alternative"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM