Your computer seems to be blocking the connection somehow... Do other networking examples work? Also please try to start a fake server on the same port the fortunecookie server uses (for example by using netcat) and then try to connect to it using telnet and send some lines of text to it.
Bookmarks