Is it possible to view the exact site addresses a program is accessing on a Mac?

Is it possible to view the exact site addresses a program is accessing on a Mac?

This might be possible on Windows or Linux, if so I'll try to change my OS, but I'd like to know if it's possible to see websites a program is looking at or trying to connect to. I need this for debug services on a script I'm trying to run for my router.

答案1

You can use wireshark

For wireshark filtering by process discussed here

Or from terminal you can use tcpdump command

相关内容