diff --git a/data/interfaces/default/ip_address_modal.html b/data/interfaces/default/ip_address_modal.html
index 2874cf45..5902f33b 100644
--- a/data/interfaces/default/ip_address_modal.html
+++ b/data/interfaces/default/ip_address_modal.html
@@ -79,7 +79,7 @@
$('#ip_error').html(' Internal request failed.').show();
},
success: function (result) {
- if (result.results === 'error') {
+ if (result.result === 'error') {
$('#ip_error').html(' ' + result.message).show();
} else {
var data = result.data;
diff --git a/plexpy/plextv.py b/plexpy/plextv.py
index 5d1111d4..20217feb 100644
--- a/plexpy/plextv.py
+++ b/plexpy/plextv.py
@@ -933,7 +933,7 @@ class PlexTV(object):
return account_details
def get_geoip_lookup(self, ip_address=''):
- if not ip_address or not helpers.is_public_ip(ip_address):
+ if not ip_address or not helpers.is_valid_ip(ip_address):
return
geoip_data = self.get_plextv_geoip(ip_address=ip_address, output_format='xml')
diff --git a/plexpy/webserve.py b/plexpy/webserve.py
index addafb13..db81fb58 100644
--- a/plexpy/webserve.py
+++ b/plexpy/webserve.py
@@ -5719,8 +5719,6 @@ class WebInterface(object):
message = 'No IP address provided.'
elif not helpers.is_valid_ip(ip_address):
message = 'Invalid IP address provided: %s' % ip_address
- elif not helpers.is_public_ip(ip_address):
- message = 'Non-public IP address provided: %s' % ip_address
if message:
return {'result': 'error', 'message': message}