Failed to establish a new connection: [Errno 111] Connection refused'))

12/19/2019

I have deployed an API on Google Kubernetes Engine .Now I am trying to get response from the deployed Api .But It is giving me Following Error

Error On Curl:

"curl: (7) Failed to connect to 35.202.134.213 port 80: Connection refused"

Error On Python Client :

""HTTPConnectionPool(host='35.221.125.222', port=80): Max retries exceeded with url: /predict/ (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))""

Can anybody guide me what is problem?

-- Naeem Khan
api
deployment
google-cloud-platform
kubernetes
python

0 Answers