Use of tcpipmonitor in eclipse

Source: Internet
Author: User

This is a tcpmon-like tool provided by eclipse or myeclipse. It is easy to use.

For tcpmon, there are currently two tools with the same name: Apache and googlecode.

The Apache address is http://ws.apache.org/tcpmon/, and the googlecodeaddress is https://code.google.com/p/tcpmon/

The tcpmon on googlecode is a newer version. The project page of the older version of this tool is ~ SVN

Now let's get down to the point. TCP provided by ECLIPSE/IP monitor usage)

1) Open the TCP/IP monitor view myeclipse --> window --> show View --> Other --> myeclipse common --> TCP/IP monitor --> ok2) configure TCP/IP monitor to listen to TCP/IP monitor View --> drop-down triangle in the upper right corner --> properties --> Add attribute description: Local Monitoring Port: Port Number of the local monitor, when you access the Web service, you can directly access this port. It will forward the request to the server host name: server host address port: server-side port type: Select TCP/IP here, if HTTP is selected, we can only see the HTTP interaction style, but cannot see the packet header. 3) Start the TCP/IP monitor listener. When we access the service, the request address should be '100. 0.0.1 '+ 'local monitoring port' (you can use a browser or other tool class) the local monitoring port of the local machine will forward the request to 'host name' + 'Port' after receiving the request ', the opposite is the response process, which is equivalent to interceptor in struts2. It means that we add a filter ourselves. In other words, its principle is the same as that of tcpmon.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.