I have a service listening on a port, how do I open the port externally? I have a service that is listening on a tcp port, and it is listed with this command:

&gt;netstat -atp tcp | grep -i "listen"
tcp4       0      0  192.168.2.5.8070       *.*                    LISTEN          
tcp4       0      0  *.postgresql           *.*                    LISTEN
...and more


but it is not accessible from other computers on the same network, and it is not listed with this command:

&gt;nmap 192.168.2.5
PORT     STATE SERVICE
5432/tcp open  postgresql


(but e.g. PostgreSQL is listed).

I can access the webserver locally on http://192.168.2.5:8060 but not from other computers on the same network. How can I open the port externally?

The Firewall on System Preferences &gt; Security &amp; Privacy &gt; Firewall is Turned Off.
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.