Skip to content

thehxdev/echoip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

EchoIP

A small program for cheching public IP address.

Build

First you must install go compiler from go.dev website. Then build echoip executable:

go build -ldflags='-s -d' .

Usage

Running echoip is very simple:

# default value for `-addr` flag is `localhost:5000`
./echoip -addr ':5000'

If you run echoip with command above, it will listen on 0.0.0.0:5000. For TLS support you can use a reverse proxy like Caddy.

About

Send a request, get your public IP address

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages