3
Some applications, such as PHP-FPM and MYSQL, usually use in their settings a file with the extension .sock
.
I always see this in Linux operating systems.
Example:
/var/run/mysql/mysql.sock
As far as I understand it is related to socket connection.
I was wondering what the purpose of this file is sock
.
My other curiosity is: Using it, it is not necessary to open a
port for socket connections? The file with extension sock
by itself would be the connection?