Show Socket error no and error message if it fail.

Showing error message gives clue about the exact result.  For example; It throws "Permission Denied" if SELinux is installed and setenforce is 1.