Q:

how to see or print out what communication occurs at a particular port?

Is there a way in Java or some software tool to see the communication that takes place at a particular port?  I have xml-rpc clients and servlets communicating with xml at a pro 2001 on my local machine and it seems my servlet is not receiving all the messages sent from the client.  

A:

Wireshark is a very impressive tool.  But I needed to see the communication between a xml-rpc client and servlet running on localhost on a Windows machine and this is not supported by Wireshark.  However, RawCap does support this and I was able to use RawCap to see the actual xml-rpc traffic between my servlet and client.  It's a great tool.  I use the Wireshark UI to view the RawCap dump file.

