What IP does my system use for outbound connections?

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » System Level

What IP does my system use for outbound connections?Last Modified: Jul 3, 2016, 6:59 pm
If you're trying to figure out what IP your system uses for outbound connections, you can use wget to call this page:

wget --tries=1 -qO - http://myip.directadmin.com

which should display the IP that connected to it.

If you want to test which IP connects out, when you bind to different local IPs, use the --bind-address option for your local IP , eg:

wget --bind-address= --tries=1 -qO - http://myip.directadmin.com

where you'd replace with the local IP to bind to (useful for LANs or if you're on a VPS where out connections are routed through a higher power (like a router or master OS)

To check the IP on SSL connections (in case port 443 is being routed differently), test like this:

wget --no-check-certificate --tries=1 -qO - https://myip.directadmin.com

Related Helpfiles
Connecting to www.directadmin.com[]:443... failed: Cannot assign requested address.

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST