Network - Unix Domain Socket

Card Puncher Data Processing


An Unix domain socket is a socket implementation used mostly for internal inter-process communication (same server)

A UNIX domain socket can be secured using the filesystem (i.e., with user or group permissions), but cannot be reached from other machines that might want to share the service.



For a UNIX domain socket, you must:

  • pick a location within your filesystem that the process will be able to access in which the socket will be created where another internal process would be able to connect,
  • set file permissions accordingly.


With netstat and the -x option of the socket argument

netstat -all -p -x
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name     Path
unix  2      [ ]         DGRAM                    11270    1/systemd            /run/systemd/shutdownd
unix  2      [ ]         DGRAM                    13344    505/chronyd          /var/run/chrony/chronyd.sock
unix  2      [ ACC ]     STREAM     LISTENING     10585962 30548/master         private/rewrite
unix  2      [ ACC ]     STREAM     LISTENING     12884387 22550/netdata        /tmp/netdata-ipc
unix  2      [ ACC ]     STREAM     LISTENING     10585948 21578/pickup         public/pickup
unix  2      [ ACC ]     STREAM     LISTENING     9057     1/systemd            /run/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     14946    534/NetworkManager   /var/run/NetworkManager/private-dhcp
unix  2      [ ACC ]     STREAM     LISTENING     10585952 30548/master         public/cleanup
unix  2      [ ACC ]     STREAM     LISTENING     10585965 30548/master         private/bounce

Documentation / Reference

Recommended Pages
Dkim Record Text Format Ovh Dns Zone
How to configure DKIM with PostFix, a step by step guide

This article will show and explain you how to install DKIM with OpenDkim as a milter for Postix on CentOS
Netstat Windows
Network - (Internet) Socket (Network identifier)

A socket is session identifier for a network connection to or from which information is transmitted in the network between a server (local machine) and a client (remote machine). This connection is implemented...
Card Puncher Data Processing
Network File

Network file: Internet socket, NFS file or UNIX domain socket with lsof: to list only network files with TCP state LISTEN, use: to list network files with all UDP states except Idle,...
Card Puncher Data Processing
SSH - ssh-agent

ssh-agent is the authentication agent of the Openssh ssh cli . It stores un/desencrypted private keys in memory, and communicates with SSH clients via Unix_domain_socket Start the ssh-agent in...

Share this page:
Follow us:
Task Runner