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.
https://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)Python26python.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
port sockets
|
show 2 more comments
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.
https://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)Python26python.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
port sockets
What OS are you using. Maybe you need to open firewall or router ports.
– Doktoro Reichard
Aug 22 '13 at 22:21
My OS is Windows 7 x64.
– user1494941
Aug 22 '13 at 22:23
1
I think I found it. I tried disabling McAfee, but it still logs it in the log file 23/08/2013 10:23:54 a.m. Blocked by port blocking rule C:Program Files (x86)Python26python.exe Anti-virus Standard Protection:Prevent mass mailing worms from sending mail 74.125.25.108:25.
– user1494941
Aug 22 '13 at 22:25
Great, please make an answer post so that other who run into this problem can easily find the solution :)
– David
Aug 22 '13 at 22:28
McAfee's warning comes from a good thought, be careful writing code like this :)
– Doktoro Reichard
Aug 22 '13 at 22:37
|
show 2 more comments
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.
https://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)Python26python.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
port sockets
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.
https://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)Python26python.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
port sockets
port sockets
edited May 23 '17 at 11:33
Community♦
1
1
asked Aug 22 '13 at 22:17
user1494941
26114
26114
What OS are you using. Maybe you need to open firewall or router ports.
– Doktoro Reichard
Aug 22 '13 at 22:21
My OS is Windows 7 x64.
– user1494941
Aug 22 '13 at 22:23
1
I think I found it. I tried disabling McAfee, but it still logs it in the log file 23/08/2013 10:23:54 a.m. Blocked by port blocking rule C:Program Files (x86)Python26python.exe Anti-virus Standard Protection:Prevent mass mailing worms from sending mail 74.125.25.108:25.
– user1494941
Aug 22 '13 at 22:25
Great, please make an answer post so that other who run into this problem can easily find the solution :)
– David
Aug 22 '13 at 22:28
McAfee's warning comes from a good thought, be careful writing code like this :)
– Doktoro Reichard
Aug 22 '13 at 22:37
|
show 2 more comments
What OS are you using. Maybe you need to open firewall or router ports.
– Doktoro Reichard
Aug 22 '13 at 22:21
My OS is Windows 7 x64.
– user1494941
Aug 22 '13 at 22:23
1
I think I found it. I tried disabling McAfee, but it still logs it in the log file 23/08/2013 10:23:54 a.m. Blocked by port blocking rule C:Program Files (x86)Python26python.exe Anti-virus Standard Protection:Prevent mass mailing worms from sending mail 74.125.25.108:25.
– user1494941
Aug 22 '13 at 22:25
Great, please make an answer post so that other who run into this problem can easily find the solution :)
– David
Aug 22 '13 at 22:28
McAfee's warning comes from a good thought, be careful writing code like this :)
– Doktoro Reichard
Aug 22 '13 at 22:37
What OS are you using. Maybe you need to open firewall or router ports.
– Doktoro Reichard
Aug 22 '13 at 22:21
What OS are you using. Maybe you need to open firewall or router ports.
– Doktoro Reichard
Aug 22 '13 at 22:21
My OS is Windows 7 x64.
– user1494941
Aug 22 '13 at 22:23
My OS is Windows 7 x64.
– user1494941
Aug 22 '13 at 22:23
1
1
I think I found it. I tried disabling McAfee, but it still logs it in the log file 23/08/2013 10:23:54 a.m. Blocked by port blocking rule C:Program Files (x86)Python26python.exe Anti-virus Standard Protection:Prevent mass mailing worms from sending mail 74.125.25.108:25.
– user1494941
Aug 22 '13 at 22:25
I think I found it. I tried disabling McAfee, but it still logs it in the log file 23/08/2013 10:23:54 a.m. Blocked by port blocking rule C:Program Files (x86)Python26python.exe Anti-virus Standard Protection:Prevent mass mailing worms from sending mail 74.125.25.108:25.
– user1494941
Aug 22 '13 at 22:25
Great, please make an answer post so that other who run into this problem can easily find the solution :)
– David
Aug 22 '13 at 22:28
Great, please make an answer post so that other who run into this problem can easily find the solution :)
– David
Aug 22 '13 at 22:28
McAfee's warning comes from a good thought, be careful writing code like this :)
– Doktoro Reichard
Aug 22 '13 at 22:37
McAfee's warning comes from a good thought, be careful writing code like this :)
– Doktoro Reichard
Aug 22 '13 at 22:37
|
show 2 more comments
1 Answer
1
active
oldest
votes
VirusScan Console->Access Protection->Anti-Virus Standard protection->Prevent mass-mailing worms from sending mails (uncheck from Block tab)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f635498%2fsocket-error-errno-10013-port-forbidden-access-permissions%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
VirusScan Console->Access Protection->Anti-Virus Standard protection->Prevent mass-mailing worms from sending mails (uncheck from Block tab)
add a comment |
VirusScan Console->Access Protection->Anti-Virus Standard protection->Prevent mass-mailing worms from sending mails (uncheck from Block tab)
add a comment |
VirusScan Console->Access Protection->Anti-Virus Standard protection->Prevent mass-mailing worms from sending mails (uncheck from Block tab)
VirusScan Console->Access Protection->Anti-Virus Standard protection->Prevent mass-mailing worms from sending mails (uncheck from Block tab)
answered Apr 10 '16 at 8:07
Rezaul Islam
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f635498%2fsocket-error-errno-10013-port-forbidden-access-permissions%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What OS are you using. Maybe you need to open firewall or router ports.
– Doktoro Reichard
Aug 22 '13 at 22:21
My OS is Windows 7 x64.
– user1494941
Aug 22 '13 at 22:23
1
I think I found it. I tried disabling McAfee, but it still logs it in the log file 23/08/2013 10:23:54 a.m. Blocked by port blocking rule C:Program Files (x86)Python26python.exe Anti-virus Standard Protection:Prevent mass mailing worms from sending mail 74.125.25.108:25.
– user1494941
Aug 22 '13 at 22:25
Great, please make an answer post so that other who run into this problem can easily find the solution :)
– David
Aug 22 '13 at 22:28
McAfee's warning comes from a good thought, be careful writing code like this :)
– Doktoro Reichard
Aug 22 '13 at 22:37