Public | Automated Build

Last pushed: 2 years ago
Short Description
A service to return the IP address of the sender
Full Description


We often struggle with attempting to determine the correct publishable IP address for a service. This occurs when operating in isolated network modes. It is also difficult to guess which network adaptor IP Address to use. The solution is to attempt to ping a service that resides within the cluster, on a different machine.

How to use

$ docker run -d -p 8080:80 philwinder/whatismyip
$ curl $HOST:8080

The Ip field returns the Ip address from the request. If behind a proxy, the ForwardedIp field will be present.

Docker Pull Command
Source Repository