Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lesson 1 Exercise 2 #34

Open
malao98 opened this issue Feb 18, 2022 · 1 comment
Open

Lesson 1 Exercise 2 #34

malao98 opened this issue Feb 18, 2022 · 1 comment

Comments

@malao98
Copy link

malao98 commented Feb 18, 2022

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.

@kingtroga
Copy link

Check your code. You probably made a syntax error that slipped past the compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants