Unable to connect with milvus server

yaml file
version: ‘3.5’
services:
app:
build: .
command: python -u app.py
ports:
- “5000:5000”
volumes:
- .:/app
links:
- milvus

milvus:
image: “milvusdb/milvus:latest”

app
from flask import Flask, jsonify
from pymilvus import connections
app = Flask(name)
connections.connect(alias=“default”, host=“milvus”, port=“19530”)
if name==‘main’:
app.run(host=“0.0.0.0”, port=5000)

Dockerfile
FROM python:3.6
ADD . /app
WORKDIR /app
RUN pip install -r requirements.txt

Error

I tried using different possible host, like host=localhost, host=0.0.0.0, host=127.0.0.1. But unable fix this problem

image
maybe the port need to be set 19530