Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
edited body
Source Link

I changed the 0.0.0.0 to localhost,xxx.xxx.xx.xx, and now when I try to connect with telnet xxx.xxx.xx.xx 2701727107 (I didn't try this command before to check if the connection was successful, my bad) I receive

Connecting To xxx.xxx.xx.xx...Could not open connection to the host, on port 2701727107: Connect failed 

I changed the 0.0.0.0 to localhost,xxx.xxx.xx.xx, and now when I try to connect with telnet xxx.xxx.xx.xx 27017 (I didn't try this command before to check if the connection was successful, my bad) I receive

Connecting To xxx.xxx.xx.xx...Could not open connection to the host, on port 27017: Connect failed 

I changed the 0.0.0.0 to localhost,xxx.xxx.xx.xx, and now when I try to connect with telnet xxx.xxx.xx.xx 27107 (I didn't try this command before to check if the connection was successful, my bad) I receive

Connecting To xxx.xxx.xx.xx...Could not open connection to the host, on port 27107: Connect failed 
added 147 characters in body
Source Link

What am I doing wrong? I want to allow connections to Mongo only from my pc and my Nodejs app (deployed, deployed on DigitalOcean too, but not the same dropletvia App Platform (App Platform app doesn't have static IP address).

What am I doing wrong? I want to allow connections to Mongo only from my pc and my Nodejs app (deployed on DigitalOcean too, but not the same droplet).

What am I doing wrong? I want to allow connections to Mongo only from my pc and my Nodejs app, deployed on DigitalOcean via App Platform (App Platform app doesn't have static IP address)

added 484 characters in body
Source Link

But I noticed DigitalOcean email telnet command says 27107 and all my settings (and DigitalOcean docs) are based on port 27017. Is itthe email port wrong? If I put telnet xxx.xxx.xx.xx 27017 the output is Trying xxx.xxx.xx.xx... and then the console is totally cleaned (even the prompt), and the title bar is changed to Telnet xxx.xxx.xx.xx. If I press a key nothing happens, but after pressing any key many times the console backs as it was at the beginning. I don't know if the connection is successful or not.

But I noticed DigitalOcean email telnet command says 27107 and all my settings are on port 27017. Is it wrong? If I put telnet xxx.xxx.xx.xx 27017 the output is Trying xxx.xxx.xx.xx... and then the console is totally cleaned (even the prompt), and the title bar is changed to Telnet xxx.xxx.xx.xx. If I press a key nothing happens, but after pressing any key many times the console backs as it was at the beginning. I don't know if the connection is successful or not.

But I noticed DigitalOcean email telnet command says 27107 and all my settings (and DigitalOcean docs) are based on port 27017. Is the email port wrong? If I put telnet xxx.xxx.xx.xx 27017 the output is Trying xxx.xxx.xx.xx... and then the console is totally cleaned (even the prompt), and the title bar is changed to Telnet xxx.xxx.xx.xx. If I press a key nothing happens, but after pressing any key many times the console backs as it was at the beginning. I don't know if the connection is successful or not.

added 484 characters in body
Source Link
Loading
added 222 characters in body
Source Link
Loading
deleted 258 characters in body
Source Link
Loading
Source Link
Loading