Skip to content

Lesson 1 Exercise 2 #34

Description

@malao98

Hi,

I wrote the exact same code as shown in Lesson 1 Exercise 2 but the following error came out when I run the code in Pycharm.

http: error: ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /recipes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection ob
ject at 0x0000020D12BB1520>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')) while doing GET request to URL: http://localhost:5000/recipes

Can someone help me with this problem? Much appreciated

Best regards,
Leong Yi Hong.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions