发布于 2015-09-14 15:23:19 | 301 次阅读 | 评论: 0 | 来源: 网络整理
Wireshark, an advanced interactive network traffic sniffer, has full support for the MongoDB Wire protocol.
You can visually inspect MongoDB traffic, do complex filters on specific values of MongoDB wire messages, and dig into individual documents both sent and received.
Wireshark looks for port 27017 and infers MongoDB protocol from this. If you are running on a different port number, go to Preferences...Protocols...Mongo and set your port number, and it should then interpret the data.