在root权限下抓包命令:tcpdump -i enp3s0 tcp port 8000 -w test.txt enp3s0为设备号,通过ifconfig查看,最终结果输出到test.txt,用wireshark打开此文件查看内容