Jump to content

[Solved] Error when running nodejs application


closer1

Recommended Posts

  • 1 month later...

TCP port 27017 has been opened to 104.40.21.132 on Tommy's firewall.

 

It looks like your site is working now. https://vnu.hdhquangnam.tk/

The "Incomplete response received from application" error reappeared while accessing my NodeJS application. Please let me know if the firewall allows access to "104.40.21.132" with port 27017.

If you allow access via ip as above, please add access by allowing access via domain name (cluster0-shard-00-00-6habu.azure.mongodb.net).

Thanks very much.
Link to comment
Share on other sites

That IP and port are still whitelisted in Tommy's firewall, and your site seems to be working fine for me.

Currently, my nodejs application access is still corrupted as above (There are times when the access does not appear error).

I am trying to find the cause. Can you give me a log of my nodejs application.

I tried blocking all outbound connections on my local environment and I got the following error

image3ec1c8223df41dfa.png

 

I tried blocking port 27017 on my local environment and I got the following error
image6c5f1c302a2a8518.png
 

My MongoDB is stored as "Replica Set - 3 nodes" so when the primary node (104.40.21.132:27017) fails to connect, it will redirect to the other two nodes but the firewall will block it. 

So can you please add secondary node ip 104.40.21.243 and 138.91.174.29 to the whitelist in Tommy's firewall.

Thanks very much

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...