You would usually run into this when attempting to use connect(2) a socket(2). "Connection refused" means that the remote host rejected your connection attempt. This usually means that the host was not listening on the port you attempted to connect on, or there is a firewall preventing you from connecting to that port.
7 pages link to ECONNREFUSED:
lib/main.php:944: Notice: PageInfo: Cannot find action page