you are connecting to localhost. Remember that’s from a tutorial where they aren’t hosting it on the web. Change it so that the server is running on host 0.0.0.0 and client is going to repl_url also I’d use websockets
Yes, I will try with websockets l8r. Says 8080 is already in use.
Traceback (most recent call last):
File "main.py", line 9, in <module>
server_socket.bind(('0.0.0.0', 8080))
OSError: [Errno 98] Address already in use