# S00004 {#s00004}

## Error Code {#error_code .section}

S00004

## Error Message {#error_message .section}

`Couldn't create a socket with error code <errno>. RefId:S00004`

## Probable Causes {#probable_causes .section}

1.  Permission to create a socket is denied.

2.  The per-process limit on the number of open file descriptors has been reached.

3.  Insufficient memory is available. The socket cannot be created until sufficient resources are freed.


For more reasons for the failure to create a socket, see [socket\(2\) - Linux manual page](https://man7.org/linux/man-pages/man2/socket.2.html).

## Solutions {#solutions .section}

Analyze and troubleshoot the issue based on the causes.

**Parent topic:**[Error Code Reference](../../Troubleshooting/ErrorCode.md)

