An open API service indexing awesome lists of open source software.

https://github.com/jefersonsv/getip

Get your public or external IP address
https://github.com/jefersonsv/getip

csharp docker getip

Last synced: about 1 month ago
JSON representation

Get your public or external IP address

Awesome Lists containing this project

README

          

# Getip
It's a fast kestrel server to get your public IP address

## Docker
Images to run getip in docker container

### from docker hub
```bash
docker run -p 4020:5000 jefersonsv/getip
```

### from local container
```bash
git clone https://github.com/jefersonsv/getip
cd getip/src
sudo docker build -t getip .
sudo docker run --restart=unless-stopped -d -p 4020:5000 --name getip getip
```

## How to test
```bash
curl 'http://localhost:4020'
```

## Run locally
```bash
git clone https://github.com/jefersonsv/getip
dotnet run
```

# Similar third party hosted services
* https://api.ipify.org
* http://checkip.dyndns.org