![]() Select the monitor and then click Start: When the Status changed to Started, click OK to close the Preferences dialog. In the New Monitor dialog, enter the following information:Ĭlick OK to add the new monitor to the list. Set up a TCP/IP Monitor in Eclipse:Open the TCP/IP Monitor settings by go to the menu Window > Preferences > TCP/IP Monitor:Ĭlick Add to create a new monitor. The application is deployed on Tomcat server which is listening on the port number 8080. Suppose that we want to monitor a web application developed in the tutorial: Spring MVC File Upload Tutorial with Eclipse IDE. 9898/FileUploadSpringMVCIf the monitor is running on the port 9898, it will receive the requests and forward them to the destination server at the port configured (8080).Now, let’s go through the steps in details. 8080/FileUploadSpringMVCAnd the TCP/IP Monitor is listening on the port number 9898, therefore we have to replace the port 8080 by 9898 as follows: ![]() The following diagram depicts the concepts: For example, suppose that we need to monitor the HTTP communications of a web application running on localhost (typically under a Tomcat instance inside Eclipse), which would be normally accessed via this URL: ![]() And the most important thing to remember when using this monitor is that it requires changing the server port at the client side to the port at which the monitor is listening. This article provides the steps which help you to use the TCP/IP monitor for the purpose of monitoring HTTP communications between the client and the server on a localhost machine.Basically, the TCP/IP monitor acts as a proxy between the client and the server so that it can capture the requests and responses. ![]() ![]() The Eclipse IDE has a built-in TCP/IP Monitor tool that allows programmers to intercept communications between client and server through TCP/IP or HTTP protocol in order to monitor, watch and analyze the requests and responses. ![]()
0 Comments
Leave a Reply. |