Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running mongo docker container from ec2 instance #2

Open
DheerajCryenx opened this issue Jul 3, 2021 · 1 comment
Open

running mongo docker container from ec2 instance #2

DheerajCryenx opened this issue Jul 3, 2021 · 1 comment

Comments

@DheerajCryenx
Copy link

when I am applying the same process and running a mongo container in ec2 instance and using the public IP in server Ip filed of Db Connector script it's showing an error like unspecified or could not resolve host, is there any changes in the script if I'm using this approach??
Any suggestion or help is highly admirable, thank you
Screenshot (422)

@DheerajCryenx
Copy link
Author

The issue is resolved by making IP elastic (of ec2 instance) and using that Ip as a server IP, but now the major concern is when the app starts at first "Db connector" script activates and it generally hangs the app for abt 1 min all the time to connect with the server, any solution to make this quick?? Why server is taking this much time all the time to connect?? (PS: it's not due to internet bandwidth)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant