i write a server script in python and run this script on raspberry pi. to test this script i run a TCP client on another computer. while server is listening and waiting for a client to connect to it, the client cant connect to the server and shows TCP connection timeout error. if i ping client IP in raspberry pi, after that client can connect to the server.
i want to know what the problem is and how can i fix it?
thank you