Title: IPv4 address
Last modified: December 1, 2018

---

# IPv4 address

 *  Resolved [Grant Hoover](https://wordpress.org/support/users/ghoover/)
 * (@ghoover)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/ipv4-address/)
 * Greetings! Thanks for a simple, very useful plugin! Is there a way to force the
   plugin to display only the IPv4 address or both the IPv4 and Iv6 addresses when
   an ISP has assigned both IPv4 and IPv6 addresses to a connection? For example,
   our ISP assigns both types of addresses, and when I load a page I’ve constructed
   using your plugin, it displays the IPv6 address only, not the IPv4 address. I’d
   like a way to display only the IPv4 address or both, but not only the IPv6 address.
   Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Chris Dennis](https://wordpress.org/support/users/chrisdennis/)
 * (@chrisdennis)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/ipv4-address/#post-11046808)
 * Hi. Thanks for your question, but the answer is “No — it doesn’t work like that.”
 * The web server only sees the address that you’re currently connecting to the 
   browser from, by referring to PHP’s `$_SERVER[REMOTE_SERVER]` variable. That 
   will only be either IPv4 or IPv6, not both (as far as I know), even if you currently
   have two connections to the internet.
 *  Thread Starter [Grant Hoover](https://wordpress.org/support/users/ghoover/)
 * (@ghoover)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/ipv4-address/#post-11048503)
 * Thank you for your reply. Your explanation makes perfect sense.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘IPv4 address’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ip-tools.svg)
 * [IP Tools](https://wordpress.org/plugins/ip-tools/)
 * [Support Threads](https://wordpress.org/support/plugin/ip-tools/)
 * [Active Topics](https://wordpress.org/support/plugin/ip-tools/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ip-tools/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ip-tools/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Grant Hoover](https://wordpress.org/support/users/ghoover/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/ipv4-address/#post-11048503)
 * Status: resolved