Dark theme | Light theme

March 24, 2009

Monitoring TCP traffic with tcpmon

Monitoring HTTP requests can be very useful when developing for example RESTful webservices. The Java utility tcpmon provides such a monitoring utility. We must define a local port and a remote server and port. We then send our request to the local port of tcpmon, which will redirect it to the server. We can see the contents of the requests in tcpmon.