filed to connect to instance running on virtual vm #37913
Replies: 1 comment 1 reply
-
"illegal connection params or server unavailable" --- this error is thrown when grpc is trying to connect the remote address and timeout. By default the timeout setting is 10 seconds. |
Beta Was this translation helpful? Give feedback.
-
Hi Team,
We have deployed Milvus on an Azure Virtual Machine using Docker. However, I am encountering an issue when trying to connect to the Milvus instance from my local machine.
Here is the Python code I am using:
python
Copy code
from pymilvus import connections
Using host and port
connections.connect(
host='xx.xx.xx.xx',
port='19530'
)
The following error occurs:
javascript
Copy code
MilvusException: <MilvusException: (code=2, message=Fail connecting to server on xx.xx.xx.xx:19530, illegal connection params or server unavailable)>
Steps I’ve Taken
I verified that Milvus is running in the VM and is listening on port 19530, as well as other services on ports 2379 and 9091.
I typically use PuTTY to log in to the server:
I specify the hostname or IP address in PuTTY, with the default port set to 22.
Once connected, I use a username and password, along with a ping ID for authentication.
We also use a VPN for accessing the server.
Despite these checks, the connection still fails. Any assistance or guidance on resolving this issue would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions