Unix Domain socket, ECONNREFUSED causes?
I would like to have a complete list of possible causes for connect(3SOCKET) to return ECONNREFUSED. I have a pthreads application that fails a test case due to connection refused, and none of the usual causes seem to make sense.
- socket path exists but nobody is listening on the socket - pfiles shows that the server side has the socket descriptor open
- too many connections - pfiles and lsof show that this is not the case - very few connections open
- wrong type of socket? debugger shows this is not the case
- wrong file permissions on socket? ls shows that this is not the case
What other causes for ECONNREFUSED could there be?
thanks
--donb