List the outgoing connections from a PHP app

Discussion in 'Mac OS X Server, Xserve, and Networking' started by aurora72, Apr 25, 2013.

  1. macrumors newbie

    Jun 7, 2010

    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.
  2. macrumors regular

    May 12, 2010
    you can try lsof which will display what software is bound to the various ports

Share This Page