Thank you sir. I opened port 4321 and it works. There is still a trick, which
took me several hours to find out: 4321 port should be put at the first
position in INPUT chain. If it is appended in INPUT chain, it won't work.
Thanks again for your great help. I appreciate it very much.
Quoting Kevin Wang <kjw@xxxxxxxxxxxxx>:
> From Jie Xu
> > Yes sir, you are right. The ping does not work. I have successfully
> > PCP in another node, say B, which can poll node A. But node A can not poll
> > B. That means some network services in node B is not open. But I can still
> > ssh and sftp to connect the two nodes. I am not sure what service it is to
> > accept PCP connection request.
> > Thank you very much for your help. I am really grateful.
> ah, in that case, you must have some sort of firewall between the two
> or network security installed on the machine.
> If linux, it's probably iptables. "iptables -L -n -v -t filter" or
> "iptables -L -n -v -t nat" will likely show you which machine is blocking
> packets for everything but port 22. If you can open up port 4321,
> that will allow the pcp server to accept connections from the network.
> Be sure to turn on the appropriate security features of pcp, and/or only
> open port 4321 to your local network, otherwise everyone in the world
> will be able to access your machine.
> 'telnet remote 4321' from the client machine can help verify if the port
> is open or not.
> - Kevin Wang
This mail sent through IMP: http://horde.org/imp/