WebSocket connection failed need help

Hi all.
the block attached setup AP WiFi server, and enable WenSocketCI creatConnection by ws:, set a ESP32 built ws: server, phone can see the AP server and connect to it, can not receive message. whats wrong?

Thanks for help.