Knowledge Base

Home > Client Errors > No connection could be made because the target machine actively refused it.

Created 25 Apr 2002
Modified 03 Jun 2016

Article 58

No connection could be made because the target machine actively refused it.

Problem

No connection could be made because the target machine actively refused it.

HRESULT error: 0x8007274d
Winsock error: WSAECONNREFUSED (10061)

Cause

It means that the host machine exists but it has no services listening on the specified port, or there is a firewall blocking the connection.

Solution

Keywords
connection refused