Fiddler fetching Web network requests executed in IntelliJ idea

Source: Internet
Author: User

You can first open the command line input: ipconfig

Locate the IP address of the native configuration here is: 192.168.97.122

or Open fiddler.

Click the small triangle symbol in the slice: Place your mouse in the online location, or you can see the IP address

Fiddler default listener 8888 Port, this port can be configured on its own (generally do not need to modify the port number, unless the port conflicts with other applications, such as 8888 port is occupied)

You can configure the ports manually in the following settings:

After locating the IP and port number

The agent is OK before your network requests the code logic to execute.

For example:

System.setproperty ("Http.proxyhost", "192.168.97.122"); System.setproperty ("Https.proxyhost", "192.168.97.122"); System.setproperty ("Http.proxyport", "8888"); System.setproperty ("Https.proxyport", "8888");

Note: The IP and port number should be replaced by the configuration on your machine.

The request filtering option in Fiddler also needs to be changed:

The default fiddler only crawls requests for web browsers.

With all the configuration done, the network request that executes the code in idea can be captured by fiddler, which makes it easy to analyze

Fiddler fetching Web network requests executed in IntelliJ idea

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.