[Tutor] Tutor Digest, Vol 143, Issue 77
samuel kirwin
skirwin at outlook.com
Fri Jan 22 12:05:11 EST 2016
Semantic errors are when a program acts incorrectly and doesn't give a error, this came up yesterday.
Samuel Kirwin
Samvelk
On Fri, Jan 22, 2016 at 9:02 AM -0800, <tutor-request at python.org> wrote:
Send Tutor mailing list submissions to
tutor at python.org
To subscribe or unsubscribe via the World Wide Web, visit
https://mail.python.org/mailman/listinfo/tutor
or, via email, send a message with subject or body 'help' to
tutor-request at python.org
You can reach the person managing the list at
tutor-owner at python.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tutor digest..."
Today's Topics:
1. Re: No connection could be made because the target machine
actively refused it (despite mongod running) and unable to insert
data into MongoDB (Emile van Sebille)
----------------------------------------------------------------------
Message: 1
Date: Fri, 22 Jan 2016 06:37:19 -0800
From: Emile van Sebille <emile at fenx.com>
To: tutor at python.org
Subject: Re: [Tutor] No connection could be made because the target
machine actively refused it (despite mongod running) and unable to
insert data into MongoDB
Message-ID: <n7term$ohh$1 at ger.gmane.org>
Content-Type: text/plain; charset=utf-8; format=flowed
On 1/21/2016 2:06 PM, Arjun Srivatsa wrote:
> Hello everyone,
>
> I have been trying to insert data (a 'hello world' string) from PLC into
> MongoDB using Python API (which pulls the data from PLC and pushes it into
> MongoDB). I have been getting the error message '*line 222, in meth return
> getattr(self._sock,name)(*args) error: [Errno 10061] No connection could be
> made because the target machine actively refused it*' despite having mongod
> running in the Services background for the code I have written below. Also,
> the server IP address on which MongoDB is present is 10.52.124.186 and
> address of PLC (which I am using it on my PC) is 10.52.124.135. I am have
> tried almost everything to sort it out and yet I haven't got a clue as to
> how to get past it. Where am I going wrong?
The error you're getting means that the firewall running on the mongod
host machine is not properly configured to allow mongod traffic into it.
Talk to the machines firewall administrator.
Emile
------------------------------
Subject: Digest Footer
_______________________________________________
Tutor maillist - Tutor at python.org
https://mail.python.org/mailman/listinfo/tutor
------------------------------
End of Tutor Digest, Vol 143, Issue 77
**************************************
More information about the Tutor
mailing list