socket – POFTUT

What Is Socket In Linux?

What Is Socket In Linux?

The socket is a mechanism that provides a connection between the two-processor system by using network stacks. In a more clear way, we can use sockets to communicate and transfer data between two systems. As we know Unix and Linux systems work on file logic. Everything in the operating system is a file where network connections … Read more

“ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock'” Error and Solution

MySQL service provides different connection methods. We generally prefer TCP/IP way where connection is established over Network Socket. There is alternative way named Socket which is connected over local system. During connection we may get error like Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ . In this tutorial we will look to solve this … Read more

Linux ss Command Tutorial With Examples

Linux processes communicates with the socket between each other. There are tools to list, resolve, provide information about sockets. Ss is one of them. Netstat command can list and resolve the sockets too but it is slow because there is a lot of sockets. Ss gets information about socket from directly Linux kernel. List All … Read more

Linux Netstat Command With Examples

Linux provides a lot of tools for network management and visibility. netstat is another popular and useful tool used by a lot of systems and network administrators. In this tutorial, we will look at usage examples of netstat. Syntax We will use the following syntax for the netstat command. netstat [address_family_options] [options] List All Connections … Read more