I have a service listening on a port, how do I open the port externally?
On MacOS X greater than 10.8, you should allow incoming connections for this application.

Within:

System Preferences &gt; Security &amp; Privacy &gt; Firewall &gt; Firewall Options…


click on the +, and select the application to use.