socket.error: [Errno 10013] Port forbidden access permissions
When trying to use a Python script I get this error:
socket.error: [Errno 10013] An attempt was made to access a socket in a
way forbidden by its access permissions
I put the post on Stackoverflow and I have been guided to come here and
follow up with why I get the error.
http://stackoverflow.com/questions/18370235/socket-error-sending-email-using-gmail
As the post on stackoverflow suggests, the issue is not with Python, but
my computer. I can even telnet to smtp.gmail.com
Can anyone provide any suggestions?
EDIT: SOLVED
The problem was McAfee Antivirus. It was blocking the socket connection.
From McAfee Access Protection Log
23/08/2013 10:23:54 a.m. Blocked by port blocking rule C:\Program Files
(x86)\Python26\python.exe Anti-virus Standard Protection:Prevent mass
mailing worms from sending mail 74.125.25.108:25
I disabled McAfee completely and it worked fine after that.
Thanks
No comments:
Post a Comment