socket – POFTUT

Tagged: socket

0

What Is Linux, Unix Socket?

Socket is a mechanism which provides connection between two process or system by using network stacks. In a more clear way we can use sockets communicate and transfer data between two system. As we know Unix and Linux systems works on file logic. Everything in operating system is file where network connections are files too. Use Cases Sockets can be used in different cases. We can use socket to transfer data...

0

“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 problem. Solution 1 – Start The Service Socket is created by the MySQL service and...

1

Linux ss Command Tutorial With Examples

Linux processes communicates with 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 Connections First of all existing connections, listening Unix and Network sockets can be listed with -l ....

0

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 system and network administrators. In this tutorial we will look usage examples of netstat. Syntax We will use following syntax for the netstat command.

List All Connections A typical Linux system will have a lot of different connections. These connection types can be Unix Sockets, IPX Sockets,...

Enjoy this blog? Please spread the word :)