quantum-fusion / springboot_swagger_example-master-cassandra

0 stars 0 forks source link

Docker connectivity issues with outside internet #19

Closed quantum-fusion closed 6 years ago

quantum-fusion commented 6 years ago

The problem of resolving connectivity issues in Docker, require you to get into the container and inspect the IP address of the container, and then to Ping the remote server that has access issues.

It could either be a DNS issue, or a local networking issue with resolving IP address access on a local host.

I resolved the Ping issue with remote host, by using IP addresses only, and can now ping outside internet nodes.

Locally, I had to add special features for Docker that required starting SpringBoot controller first, and then Cassandra second. I also added listening to TCP ports for SpringBoot.

Resources: https://development.robinwinslow.uk/2016/06/23/fix-docker-networking-dns/ http://odino.org/cannot-connect-to-the-internet-from-your-docker-containers/ https://github.com/docker/for-mac/issues/1348 https://stackoverflow.com/questions/38785991/docker-deamon-config-path-under-mac-os

https://stackoverflow.com/questions/30172605/how-to-get-into-a-docker-container

quantum-fusion commented 6 years ago

Docker connectivity locally issue was resolved.