Category : tcp

I have two .NET core web APIs as docker containers. I want with NetMQ one to send messages and other listen to it. But I think I have some problems connectiong those two with tcp connection. I use Docker compose. version: ‘3.4’ services: gateway: image: ${DOCKER_REGISTRY-}gateway build: context: . dockerfile: Gateway/Dockerfile ports: – 5000:80 pictureperfect: ..

Read more

I created three VMs[vm1(ip1),vm2(ip2),vm3(ip3)] on a machine and try to execute "docker swarm init –advertise-addr ip1". However, vm1 left the swarm just a few seconds later which leads "connection refused" when I execute "docker swarm join –token <init_token> ip1:2377" on vm2 or vm3. Here is docker log on vm1: May 28 18:11:52 Rsubuntu dockerd[22203]: time="2021-05-28T18:11:52.910962868+08:00" ..

Read more

I have installed minikube and docker to run a kubernetes cluster on a virtual machine (Ubuntu 20.04). After that, I installed istio and deployed the sample book application. So far, so good. The problem I have is that i can’t access the application from outside the virtual machine (my local computer). I’ve done everything like ..

Read more

I have MariaDB running on docker. Bind address is commented out in the my.cnf file and everything appears set. I know what the IP address is and am currently trying to force the TCP connection (I am using this resource: https://mariadb.com/kb/en/installing-and-using-mariadb-via-docker/). I also have a java program in another docker container that is able to ..

Read more