The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

gobot (1) [Avatar] Offline
Free IP lookup website Telize,, now says:
"The public API will permanently shut down on November 15th, 2015", and it did.

A code workaround is to substitute website
See docs at

1. Server code change from
  var apiUrl = '' + ip;

  var apiUrl = '' + ip;

2. HTML change from
  The IP address {{location.ip}}

  The IP address {{location.query}}

3. Suggested client code hardening. When I copied and pasted an IP, I hosed it with a leading space. I like to always trim form strings. From
  var ip = tpl.find('input#ipv4').value;

  var ip = tpl.find('input#ipv4').value.trim();

stephan.hochhaus (92) [Avatar] Offline
Thanks for the feedback. Unfortunately we cannot change the book content, but if we do a second revision we'll make sure to find something longer lasting.
You can also do pull requests for the book code on GitHub and we can incorporate this, that way you also get credit (if you want smilie