DEV Community


Discussion on: Creating a realtime chat app with android , NodeJs and

hoseincnn profile image

I wrote exactly the same code as you, but the ("a user connected") sentence is not displayed in cmd.
I have been involved in this issue for two months and there is nothing left on the stackoverflow and GitHub that I have not read.
I checked all the side works such as targetSandBoxVersion , clearTextTrafic , network_security_config , test https and http , open ports with telnet , test and urls , and etc .
Also My laptop does not have any server connection problem because I can send and receive http requests.
Could it be a problem with the android websocket firewall?
I'm really tired.
Please help me if anyone has a similar problem or knows the solution.