OS X Address Not Available – How to open this port

mac-osxxdebug

I am trying to get xdebug working on my snow leopard box.

It uses port 9000.

When I ask slickedit to monitor this port is gives an error that the address is not available.

I've gone to canyouseeme.org to see if the port is open.

It says the port is NOT open.

I've verified that I have that port forwarding to my box from the router and i do NOT have the mac firewall running.

I'm stumped. Any ideas?

Best Answer

You can also see if it anything is listening on port 9000 by typing netstat -an |grep 9000 |grep LISTEN in Terminal. Here is an example on my system, looking for 22 instead of 9000:

jed@jed-mbp:~$ netstat -an |grep 22 |grep LISTEN
tcp4       0      0  *.22                   *.*                    LISTEN
tcp6       0      0  *.22                   *.*                    LISTEN

This means that my system is listening on 22 for connections both on IPv4 and IPv6.

Good luck,

--jed