Python - No Connection Could Be Made Because The Target Machine Actively Refused It
I'm new in Python and I'm trying to execute this piece of code importing Socket: import socket def retBanner(ip, port): try: socket.setdefaulttimeout(2) s = soc
Solution 1:
WinError 10061
- means that the server side TCP is not accepting the connection. For there is no application above listening on that port that client is trying to connect. Please check if you have your server application started and that it is listening on the intended port.
Post a Comment for "Python - No Connection Could Be Made Because The Target Machine Actively Refused It"