View Full Version : List the outgoing connections from a PHP app

Apr 25, 2013, 12:45 PM

I've been using Mac OS X as a server platform. I use AMP software which I compile and configure myself.

For the couple of days I've been running a PHP (an E-Commerce package) application and I 'd like to see which connections are made from this app to the Internet.

Of course there are utilities like "netstat" which shows all TCP/IP connections but AFAIK it doesn't show which local application does the connection. I actually didn't use nestat much on Mac OS.

Apr 25, 2013, 02:25 PM
you can try lsof which will display what software is bound to the various ports