DOes the code work when run on a single PC with the localhost address?
Can there be a problem with a router or firewall?