Have you tried to look up the ip adress of the docker container? docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id
Ya @Jakob I tried with DB container IP also it's not connecting. While doing telnet localhost 32768 its showing Connected to localhost if I use container IP shown as telnet: Unable to connect to remote host: Connection refused i tried this outside docker.
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
telnet localhost 32768its showingConnected to localhostif I use container IP shown astelnet: Unable to connect to remote host: Connection refusedi tried this outside docker.