An extremely simple Go TCP server for telling your real public IP address.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
main.go

README.md

get-my-ip

Get-my-ip is an extremely simple TCP service to tell your real public IP address.

Prerequisites

GoLang

Installation

Type the command below to compile from source.

go build main.go

Then, run it directly on a KNOWN host or setup it as a service by using some tools (eg. supervisord).

Get-my-ip will listen on port 6666.

./main

Usage

Telnet to 6666 of the KNOWN host, eg. migege.com:6666

telnet migege.com 6666