Reputation: 173
What exactly does this error mean and how can i fix it, am running server on port 8000 of local host.
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
Upvotes: 2
Views: 3278
Reputation: 4531
I needed to set my default VS-Code internal terminal profile to Command Prompt
:
For more details, please refer to this full answer.
Upvotes: 0
Reputation: 1
Is firewall running on the server? If so, that may be blocking connections. You could disable firewall or add an exception on the server side to allow connections on port 8000.
Upvotes: 0