ConnectionError with flask server

I am getting the following error while run the streamlit app
ConnectionError: HTTPConnectionPool(host=‘127.0.0.1’, port=5000): Max retries exceeded with url: / (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7f492268db20>: Failed to establish a new connection: [Errno 111] Connection refused’))

The flask server code :


streamlit app code:
streamlit

1 Like

I have closed all other jupyter tabs or instances running the app,yet I get the same error. It would be very useful if you can send help,thanks!

okay guys the issue is resolved,i just realised i was not running the server at first place,my bad.

2 Likes

Welcome to the community @Vishal_Karthik

Glad you found out :slight_smile: we all do this kind of error!

1 Like