Discussion forum for David Beazley

Echo server from the course on coroutines not working on Windows


#1

I’m going through Curious Course on Coroutines and Concurrency.
I’m running echogood2.py and using the Windows Telnet client to connect.
The server seems to have received a connection as it shows:
"Connection from (‘127.0.0.1’, 56852)’ .

But the telnet prompt it 's just stuck on ‘Connecting to localhost…’

Anybody knows what’s going on?
Thanks.


#2

Telnet on many machines is weird or even gone. You might try using `python -m telnetlib localhost portno’ instead.


#3

That worked, thanks!