MongoDB SocketException in AWSSocketException in Mongo logsiptables blocking local connection to mongodbAWS StrongSwan IPSec VPNUnusually large number of httpd processes and high CPU load on MongoDB replica set membersAWS port unreachable on REHLUnable to connect to MongoDB running on AWS EC2 instance via SSHMongoDB connections are failing with “SocketException… SEND_ERROR”Does AWS security group apply to communication between processes on an instance?ssl connection to aws serverless auroraUnable to access MongoDB installed on a GCE VM from client desktop
Would a "Permanence" spell in 5e be overpowered?
weird pluperfect subjunctive in Eutropius
Sci-fi/fantasy book - ships on steel runners skating across ice sheets
about academic proof-reading, what to do in this situation?
If an old FIN is delivered, will TCP terminate the new connection?
My large rocket is still flipping over
no sense/need/point
Is there precedent or are there procedures for a US president refusing to concede to an electoral defeat?
In linear regression why does regularisation penalise the parameter values as well?
GitLab account hacked and repo wiped
Drawing an hexagonal cone in TikZ 2D
Make me a minimum magic sum
How to deal with employer who keeps me at work after working hours
Hostile Divisor Numbers
How can I get people to remember my character's gender?
As a GM, is it bad form to ask for a moment to think when improvising?
Dangerous workplace travelling
Has the Hulk always been able to talk?
My first C++ game (snake console game)
Page count conversion from single to double-space for submissions
Is disk brake effectiveness mitigated by tyres losing traction under strong braking?
Why is "breaking the mould" positively connoted?
What was the first story to feature the plot "the monsters were human all along"?
Would a small hole in a Faraday cage drastically reduce its effectiveness at blocking interference?
MongoDB SocketException in AWS
SocketException in Mongo logsiptables blocking local connection to mongodbAWS StrongSwan IPSec VPNUnusually large number of httpd processes and high CPU load on MongoDB replica set membersAWS port unreachable on REHLUnable to connect to MongoDB running on AWS EC2 instance via SSHMongoDB connections are failing with “SocketException… SEND_ERROR”Does AWS security group apply to communication between processes on an instance?ssl connection to aws serverless auroraUnable to access MongoDB installed on a GCE VM from client desktop
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am trying to use Robo 3T 1.3 to connect to a remote mongodb server with ssh proxy. The remote server and the proxy box are in AWS.
I am given the following error:
Not sure if I am missing some settings or why this is happening.
Security groups are set up in a way that TCP connection is allowed from the proxy with 22 and 27017 ports to the Mongodb instance.
Sometimes it works, but most cases it doesn't. Not sure why it wants to use the 57013 port, my guess is that the mongod socket listening on port 27017 and it opens a new one for the communication.
Any idea what I am missing?
Thanks
amazon-web-services mongodb ssh-tunnel
add a comment |
I am trying to use Robo 3T 1.3 to connect to a remote mongodb server with ssh proxy. The remote server and the proxy box are in AWS.
I am given the following error:
Not sure if I am missing some settings or why this is happening.
Security groups are set up in a way that TCP connection is allowed from the proxy with 22 and 27017 ports to the Mongodb instance.
Sometimes it works, but most cases it doesn't. Not sure why it wants to use the 57013 port, my guess is that the mongod socket listening on port 27017 and it opens a new one for the communication.
Any idea what I am missing?
Thanks
amazon-web-services mongodb ssh-tunnel
2
How did you set up the ssh tunnel? Is it actually active?
– Michael Hampton♦
Apr 26 at 22:16
It is an AWS ec2 instance having a public IP. Yes, it is active. Robo can connect to it.
– Bertie92
Apr 27 at 12:46
add a comment |
I am trying to use Robo 3T 1.3 to connect to a remote mongodb server with ssh proxy. The remote server and the proxy box are in AWS.
I am given the following error:
Not sure if I am missing some settings or why this is happening.
Security groups are set up in a way that TCP connection is allowed from the proxy with 22 and 27017 ports to the Mongodb instance.
Sometimes it works, but most cases it doesn't. Not sure why it wants to use the 57013 port, my guess is that the mongod socket listening on port 27017 and it opens a new one for the communication.
Any idea what I am missing?
Thanks
amazon-web-services mongodb ssh-tunnel
I am trying to use Robo 3T 1.3 to connect to a remote mongodb server with ssh proxy. The remote server and the proxy box are in AWS.
I am given the following error:
Not sure if I am missing some settings or why this is happening.
Security groups are set up in a way that TCP connection is allowed from the proxy with 22 and 27017 ports to the Mongodb instance.
Sometimes it works, but most cases it doesn't. Not sure why it wants to use the 57013 port, my guess is that the mongod socket listening on port 27017 and it opens a new one for the communication.
Any idea what I am missing?
Thanks
amazon-web-services mongodb ssh-tunnel
amazon-web-services mongodb ssh-tunnel
asked Apr 26 at 22:14
Bertie92Bertie92
1013
1013
2
How did you set up the ssh tunnel? Is it actually active?
– Michael Hampton♦
Apr 26 at 22:16
It is an AWS ec2 instance having a public IP. Yes, it is active. Robo can connect to it.
– Bertie92
Apr 27 at 12:46
add a comment |
2
How did you set up the ssh tunnel? Is it actually active?
– Michael Hampton♦
Apr 26 at 22:16
It is an AWS ec2 instance having a public IP. Yes, it is active. Robo can connect to it.
– Bertie92
Apr 27 at 12:46
2
2
How did you set up the ssh tunnel? Is it actually active?
– Michael Hampton♦
Apr 26 at 22:16
How did you set up the ssh tunnel? Is it actually active?
– Michael Hampton♦
Apr 26 at 22:16
It is an AWS ec2 instance having a public IP. Yes, it is active. Robo can connect to it.
– Bertie92
Apr 27 at 12:46
It is an AWS ec2 instance having a public IP. Yes, it is active. Robo can connect to it.
– Bertie92
Apr 27 at 12:46
add a comment |
1 Answer
1
active
oldest
votes
It turned out that the issue I had was local, nothing was wrong in AWS. For some reason Robo 3T had issues with the local port for the ssh...
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f964811%2fmongodb-socketexception-in-aws%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It turned out that the issue I had was local, nothing was wrong in AWS. For some reason Robo 3T had issues with the local port for the ssh...
New contributor
add a comment |
It turned out that the issue I had was local, nothing was wrong in AWS. For some reason Robo 3T had issues with the local port for the ssh...
New contributor
add a comment |
It turned out that the issue I had was local, nothing was wrong in AWS. For some reason Robo 3T had issues with the local port for the ssh...
New contributor
It turned out that the issue I had was local, nothing was wrong in AWS. For some reason Robo 3T had issues with the local port for the ssh...
New contributor
New contributor
answered Apr 30 at 17:43
Bertie92Bertie92
1013
1013
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f964811%2fmongodb-socketexception-in-aws%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
How did you set up the ssh tunnel? Is it actually active?
– Michael Hampton♦
Apr 26 at 22:16
It is an AWS ec2 instance having a public IP. Yes, it is active. Robo can connect to it.
– Bertie92
Apr 27 at 12:46