View Single Post
Posts: 31 | Thanked: 40 times | Joined on Aug 2010
#22
Originally Posted by MohammadAG View Post
Hmm, I can keep getting an error, any ideas?
Code:
mohammad@mohammad-i5laptop:~/Downloads$ python server.py 
Traceback (most recent call last):
  File "server.py", line 73, in <module>
    server = SocketServer.TCPServer((HOST, PORT), MyTCPHandler)
  File "/usr/lib/python2.6/SocketServer.py", line 402, in __init__
    self.server_bind()
  File "/usr/lib/python2.6/SocketServer.py", line 413, in server_bind
    self.socket.bind(self.server_address)
  File "<string>", line 1, in bind
socket.error: [Errno 99] Cannot assign requested address
Nevermind, had to put my PC's IP instead of the N900's.
That's right. It's my fault for bad documentation!