[7] Results

Linux/Unix/MacOSX : Find out which application is listening to port 80 or use which IP version

linux lsof unix macosx port-number

Problem :

You need to find out which Linux/Unix or MacOSX applications are listening to port 80( or any other….... read more

Golang : Serving HTTP and Websocket from different ports in a program example

golang web-socket HTTP port mux


For some reason you want to split the port use by your program to serve HTTP and Web-socket traffic.….... read more

Golang : Get UDP client IP address and differentiate clients by port number

golang udp udp-client-address port-number

Problem :

Your UDP server program needs to find out the UDP client IP address before writing to client. However,….... read more

Golang : What is the default port number for connecting to MySQL/MariaDB database ?

golang database mysql mariadb port-number

Problem :

How to determine which port number when trying to connect to a database with https://github.com/go-sql-driver/mysql and….... read more

Golang : Simple client server example

golang client-server connection listening port

This a quick tutorial on creating a bare bone client-server program with Golang. We will start with the server part….... read more

Golang : Forwarding a local port to a remote server example

golang port-forwarding tcp-net io-copy remote-server

Got a strange request yesterday. A friend who is an IT manager in his company needs to implement some control….... read more

Mac/Linux and Golang : Fix bind: address already in use error

linux mac-os-x golang bind-address-in-use pid lsof...

Not really a tutorial. However, it is good to put this here as a guide for junior software developers.

.... read more