pydbgpproxy -i 9001 -d 9000
The IDE-PORT is where Komodo will to connect with the proxy and the DEBUG-PORT is where the application being debugged will connect to the proxy (see details below).
If you have machine A and machine B that cannot connect to each other, you may be able to use ssh port forwarding to pass the connection along between the two (often useful in the case of a vpn/private network, or where you have only access to an intermediate machine). The actual technique used is what is called a reverse SSH port forwarding, see http://toic.org/2009/01/18/reverse-ssh-port-forwarding/.
ssh -R 9000:localhost:9000 komodo.machine.com
if using an intermediate host, replace the localhost with the client address like this:
ssh -R 9000:client.machine.com:9000 komodo.machine.com
Additional configurations and settings for remote debugging can be found in Komodo's application help menu.