MongoServerSelectionError: connect ECONNREFUSED ::1:27017 help me get out from this error? [duplicate] - mongodb

This question already has answers here:
Can't connect to MongoDB 6.0 Server locally using Nodejs driver
(1 answer)
MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017]
(33 answers)
Closed 6 days ago.
I was trying to connect to the mongo first time while learining but got stuck read various article watched videos on you tube but still i'm stucked so please tell me what should i do Have a look at the screen shot
I tried as suggested in other related questions answers on stackoverflow

Related

Heroku cannot connect to Github [duplicate]

This question already has answers here:
Heroku and GitHub: "Items could not be retrieved, Internal server error"
(12 answers)
Closed 10 months ago.
A week ago everything it was normal with my app deployment on Heroku using my Github repository.
Now, HerokuApp doesn't have access to my github and everytime i try to connect it shows me this error:
"Couldn't connect to GitHub
Error: remote was closed, authorization was denied, or an authentication message otherwise not received before the window closed."
Couldn't connect to GitHub Error: remote was closed, authorization was denied, or an authentication message otherwise not received before the window closed.
Does anybody know what happened?
Yep. This is a known issue happening at Heroku.
Check this other answer: Heroku Account not connecting to Github [duplicate]

Problem starting MongoDB for the first time (MAC)

I tried setting up MongoDB for the first time and I got this error - I recently changed my DNS so I'm not sure if it's related to that. Any ideas what this might mean?
I was following a tutorial on YouTube (Video Here: https://www.youtube.com/watch?v=MIByvzueqHQ). I've seen other entries/issues similar to my one but I believe it might be different. People have said it may be ownership problems. I haven't seen one that says Connection refused - so I will change my DNS back and see if that does anything.
MongoDB shell version v4.0.9
connecting to:
mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb`
2019-07-30T16:14:05.184+1000 E QUERY
`[js] Error: couldn't connect to server 127.0.0.1:27017`,
connection attempt failed: SocketException: Error connecting to `127.0.0.1:27017` :: caused by ::
Connection refused :
`connect#src/mongo/shell/mongo.js:343:13#(connect):2:6
exception: connect failed`
I expected it to start MongoDB so I could give it a test run. This was the only error I saw.
This can happen when the mongodb service is not running on the mac.
To start it, try this:
brew services start mongodb

Matlab - No suitable driver when connecting to localhost [duplicate]

This question already has answers here:
The infamous java.sql.SQLException: No suitable driver found
(21 answers)
Matlab and MySQL no suitable driver found
(2 answers)
Closed 3 years ago.
I am trying to connect to a localhost setup PostgreSQL 10 with Matlab R2015a and after following the instructions and connection string layout, I'm at a loss to explain why I'm still getting a "No suitable driver found" error.
datasource = 'toronto';
username = 'postgres';
password = '********';
driver = 'org.postgresql.Driver';
server = 'jdbc:postresql://localhost:5432/';
connection = database(datasource, username, password, driver, server)
I've checked this related SO thread but no dice. Here's some extra information, hopefully someone has come across this before.
PostgreSQL 10.1, build 1800 64-bit
Java Version 8, built 1.8.0_91-b14
PostgreSQL JDBC 4.2 Driver, 42.1.4

Meteor -- How to connect to mongodb? [duplicate]

This question already has answers here:
How do I use an existing MongoDB in a Meteor project?
(8 answers)
Closed 7 years ago.
I am new to meteor platform.
I have created a meteor project.
Need help to change db. I have created a mongodb in https://mongolab.com/. It provided connection string and I am able to successfully connect to that DB from terminal(Ubuntu).
I want to connect to mongodb hosted in https://mongolab.com/. How can I update connection string in meteor project?
Thanks in advance
Export the MONGO_URL environment variable with the MongoLab connection string like this export MONGO_URL=mongodb://localhost:27017/your_db
Then, run meteor as usual.

db2 Type 4 driver downlaod [duplicate]

This question already has an answer here:
Closed 12 years ago.
Possible Duplicate:
db2 Type 4 driver downlaod
Hi to all,
I want to connect to the Db2 data base server with java application, I use type4 driver, can you please tell me exact location to download DB2 Type4 driver
Thanq in advance
The actually recommended way is to get this from the DB2 server you are working with because it quarantees you get the correct version of them. You can find them from /sqllib/java .