For last 2-3 weeks I have been working on configuring Reverse proxy using Tomcat. I spent a lot of time and stuck at a point where my application stops working when it encounters an HTTPS request for logging in. HTTP traffic is working fine.
When checked I found that my proxy is not even getting the request.
Then I started exploring other methods through which I could monitor online traffic on different machines in my Network. I came across this solution. I have been using fiddler for debugging thing on my local machine.
Here are few basic steps:
NOTE : I have Master machine where I want to monitor the traffic.
1. Install Fiddler 2.x version on your machine. (Lower versions do not support this.)
2. Launch Fiddler on master machine
3. Go to Tools > Fiddler Options
4. Under General Tab, select the option "Allow Remote Computers to Connect"
5. Go to Start>Run
6. Type cmd : It will launch command prompt
7. Type ipconfig & Note IP address of your master machine
Now go to the machine which you want to monitor for web traffic.
1. Launch Internet Explorer
2. Go to Tools>Internet Options
3. Go to Connections Tab
4. Click "Lan Settings" button
5. Uncheck "Automatically Detect Settings"
6. Check the option "Use a Proxy Server...."
7. Click Advanced button
8. Add IP address of your master machine under 'Proxy Address to use' and port as 8888
9. Add this for HTTP & Secure
10. Click OK
11. Again click OK
12. Again click OK
Now restart Fiddler on Master machine.
On other machine enter www.google.com in internet explorer. Check what happens in Fiddler on Master machine.
YOU WILL SEE AN ENTRY FOR WWW.GOOGLE.COM
Similarly you can see other calls which are actually made on other machine. Similarly you can monitor traffic from more than one machine. Just enter IP with 8888 port in IE and you are done.
But still I am facing the same problem for HTTPS call for Log-in. I will share more details as I will get the solution.
+ VJ
No comments:
Post a Comment