Muhuri.JSON
Muhuri.JSON

Reputation: 173

ConnectionRefusedError: [WinError 10061][WinError 10061] No connection could be made because the target machine actively refused it

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

Answers (2)

Andreas L.
Andreas L.

Reputation: 4531

I needed to set my default VS-Code internal terminal profile to Command Prompt: enter image description here

For more details, please refer to this full answer.

Upvotes: 0

Malini Balakrishnan
Malini Balakrishnan

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

Related Questions