Showing posts with label Socket. Show all posts
Showing posts with label Socket. Show all posts

Wednesday, September 6, 2023

MariaDB Socket from Path XAMPP for VSCODE on MAC OS

Run the following command in terminal:

ps -ax|grep mysql

FInd the output like this:

--socket=/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock --port=3306

Then use this path without quote in Socket path


Then click Save and connect. It will show the success message.

Saturday, January 21, 2023

Error binding socket to :::25, status = EADDRINUSE (Solved)

$ yum install net-tools 

$ sudo dnf install net-tools 

Debian, Ubuntu: 
$ sudo apt install net-tools

netstat -tulpn

netstat -tulpn | grep -w 2500

Result: tcp     0         0   *

kill 942

Wednesday, August 10, 2022

How to check TCP, UDP Domain Socket using NetCat

 Install the netcat Using the fllowing command:

$ yum install nc      [On CentOS/RHEL]

$ dnf install nc      [On Fedora 22+ and RHEL 8]

$ sudo apt-get install Netcat      [On Debian/Ubuntu]

NetCat commands:

$ nc -v -w 2 z 22     #scan a single port


$ nc -v -w 2 z 22 80  #scan multiple ports


$ nc -v -w 2 z 20-25  #scan range of ports

How to merge a branch to main branch in Github.

In Terminal or Command Prompt:  git checkout main  [switch to main branch] git pull origin main  [grab latest updates from main branch] git ...