if this is on wifi you might find some luck if you go to conection setting and delete the settings for you wifi network and reconect and put the key in again (some where with the setting for prefured connection if iremember right)
or
it might be a firewall problem might want to check the setting for that try turning it off see if it solves the problem BUT TURN IT BACK ON and find the problem if it does.