There are two ways to retrieve external/public IP addresses for your Linux server or system. The fastest method is by resolving the DNS (dig, host), and the other is by retrieving server data through the HTTP protocol (cURL, wget). Local and Public are two variants assigned to different networks. Local IP addresses are assigned to […]
The post Display Public IP Address using Command-Line in Linux appeared first on TREND OCEANS.