Python Socket Error 61 Connection Refused
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting errno:61 connection refused mongodb ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the socket.error errno 61 connection refused python email Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: errno 61 connection refused django Sign up Python socket.error: [Errno 61] Connection refused up vote 1 down vote favorite I am very new to socket programming. I am trying to connect to a power supply over ethernet. My Mac (OS X) is connected to an ethernet
Openssl Connect:errno=61
switch and the power supply is also connected to the switch. I have some code written in python to send/receive commands/messages to/from the power supply. The switch interface allows me to assign a static IP to the supply. It is this same IP that I use as the target IP in the following code: def __init__( self, IP_TARGET ): IP = IP_TARGET PORT = 8080 self.supply = socket.socket( socket.AF_INET, socket.SOCK_DGRAM ) self.supply.connect( (IP, PORT) ) This code runs without any issues. My
here for a quick overview of the site Help Center Detailed answers to any questions errno 61 connection refused ironport you might have Meta Discuss the workings and policies of this
Socket.error Errno 61 Connection Refused Selenium
site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers
Celery Errno 61 Connection Refused
or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a http://stackoverflow.com/questions/34299809/python-socket-error-errno-61-connection-refused community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Python Celery socket.error: [Errno 61] Connection refused up vote 2 down vote favorite I am using Celery 3.0 and have the configuration file like below. celeryconfig.py BROKER_URL = 'redis://localhost:6379/0' CELERY_RESULT_BACKEND = 'redis://localhost:6379/0' CELERY_TASK_SERIALIZER = http://stackoverflow.com/questions/15294938/python-celery-socket-error-errno-61-connection-refused 'json' CELERY_RESULT_SERIALIZER = 'json' CELERY_IMPORTS = ("tasks", ) CELERY_TASK_RESULT_EXPIRES = 300 tasks.py import celery @celery.task def function(x,y): return x + y and function.py from tasks import function print function.delay(4,4).get() I run the application with following command celeryd --loglevel=INFO --config=celeryconfig Everything is working great till now. I have redis and celery running and getting answers. But when I run the function command from another file called parallelizer, I get the socket error, socket.error: [Errno 61] Connection refused My file is like below, from examples.dummy.tasks import function print function.delay(4,4).get() Any ideas ? python celery celery-task share|improve this question asked Mar 8 '13 at 13:21 tunaktunak 1,34232742 have you installed redis package along with redis-server on your machine? –Viren Rajput Mar 8 '13 at 13:48 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote I had the same problem and the issue was that I missed this code in my project's __init__.py: from __
to BlenderSite HelpForum RulesFAQContact Site SupportWebsite Support Forum BA Facebook Advanced Search Today's Posts FAQ Calendar Mark Forums Read Community Groups Forum Actions Mark Forums Read Quick Links View Forum Leaders If this is your first visit, be sure to check out the FAQ by https://blenderartists.org/forum/showthread.php?212183-socket-error-Errno-61-Connection-refused clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. [ - ] Hide Feature Row Forum Coding Python Support socket.error: [Errno 61] Connection refused Results 1 to 3 of 3 Thread: socket.error: [Errno 61] Connection refused Thread Tools Show Printable Version Search Thread Advanced Search 20-Mar-11,07:10 #1 connection refused Duo Oratar View Profile View Forum Posts Private Message Member Join Date Feb 2009 Location Ireland Posts 321 socket.error: [Errno 61] Connection refused Hello, Could somebody please explain what exactly this error means? Code: socket.error: [Errno 61] Connection refused Because I get it from a socket test on the client side when I try to connect to the computer hosting the server, all the correct IPs and ports are being used and this is on 61 connection refused a local network (192.168.1.* kinda thing). Reply With Quote 20-Mar-11,10:08 #2 AIBlender View Profile View Forum Posts Private Message Visit Homepage Member Join Date Jul 2010 Location England, UK Posts 300 Hi, The error itself means that the client machine can't connect to what ever ip/port you are trying to connect to on the server. Assuming that the ip and port numbers of the server you are connecting to from the client machine are correct then there could be a couple of reasons it wont connect. 1. If the Client Machine has a firewall active on it and is blocking outgoing ip/portnumber address. So the client can't connect to external machines on the network (the firewall on the client may only be allowing port 80 internet web access). Try disabling any firewall that is active on the Client Machine. Assuming you do that, can you ping the Server Machine Ip address from the Client Machine. 2. Does the Server Machine have a firewall active and if so are you allowing incoming connection on it from the specific ip address/port. That pretty much all I can think of as to why you can't connect without being at the machine. Reply With Quote 20-Mar-11,13:31 #3 Duo Oratar View Profile View Forum Posts Private Message Member Join Date Feb 2009 Location Ireland Posts 321 I switche