Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一台将值发送到端口 2712 的机器。我在本地使用:
ngrep -d lo '' 'port 2712'
这向我展示了价值观:
U 192.168.122.103:51027 -> 192.168.122.103:2712 0.5
如何从同一 LAN 中的机器监听 192.168.122.103 机器上的同一端口?
ngrep -d any '' port 2712 and host 192.168.122.103
如果您知道特定的接口(例如eth0),请使用它而不是any.
eth0
any