I have hosted my websocket server using python tornado server on localhost ws://localhost:8001 and client is on another system on 192.168.0
Finally i found it.
When i put
tcp.dstport == 8001 || tcp.srcport == 8001
At that time i can capture it.
Check the syntax for filters, in your case, it should be tcp port 8001
.
Step by step:
tcp port 8001
You can also filter to show only WebSocket packets by using a display filter:
(websocket)