[Tutor] No connection could be made because the target machine actively refused it (despite mongod running) and unable to insert data into MongoDB

2016-01-22 Thread Arjun Srivatsa
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 co

Re: [Tutor] No connection could be made because the target machine actively refused it (despite mongod running) and unable to insert data into MongoDB

2016-01-22 Thread Alan Gauld
On 21/01/16 22:06, 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 > getat

Re: [Tutor] No connection could be made because the target machine actively refused it (despite mongod running) and unable to insert data into MongoDB

2016-01-22 Thread Emile van Sebille
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