Hi I’m trying to run a basic python script that listens to a port but it fails with the error above. Here’s the stripped down version:
>>> import socket
>> server = socket.socket()
>>> server.bind(("myusername.pythonanywhere.com",8080))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 99] Cannot assign requested address
Any suggestions on how I get this to work please? Thanks
[edit by admin: formatting]