开发者

Packet sniffing between different applications in same server

开发者 https://www.devze.com 2023-04-03 04:37 出处:网络
I have two differe开发者_开发技巧nt applications in one tomcat. One application performs an HTTP request to the REST API on the second application.

I have two differe开发者_开发技巧nt applications in one tomcat. One application performs an HTTP request to the REST API on the second application.

How can I sniff packets (the request)?

This is my development machine, not the production architecture.

Thanks!


As in the comments, aside from packet sniffing you can try enabling Tomcat's RequestDumperValve to write out all the request parameters being sent to the target server.

This will help confirm the data the 2nd server receives and what values are missing


Wireshark will do everything you need.

0

精彩评论

暂无评论...
验证码 换一张
取 消