This is the website of JWhois
Download code from https://sourceforge.net/projects/jwhois
Thanks to JavaHosting.dk for the free java hosting
Thanks to developers at Sebs Holding ApS
A special thanks to JetBrains for providing the best java IDE

This is just serving request like http://whois.less-is-more.dk/whois?ip=213.150.56.140 that will return a country code within ftp://ftp.ripe.net/ripe/docs/iso3166-codes (2-chars-code)


You can chose how you want JWhois (the Geo ip service) to run:
(A) Inline in Java, where the whois-in-memory-database is running in your JVM
(B) Inline in Java, where the whois-in-memory-database is running on your server, like http://whois.AtYourServer.com/whois?ip=x.x.x.x
(C) Inline in Java, where the whois-in-memory-database is running at whois.less-is-more.dk/whois?ip=x.x.x.x

(D) Inline in Java, where the whois-in-memory-database that returns all text-data like the whois command, but only for RIPE's IPs



How to run "(A) Inline in Java, where the whois-in-memory-database is running in your JVM"
1) Download the project from https://sourceforge.net/projects/jwhois/
2) Run ./build-jwhois.sh
3) Set in GeoIpService.properties: runLocal=true
4) Call from Java: JWhois.lookup(String nameOrIPv4)


How to run "(B) Inline in Java, where the whois-in-memory-database is running on your server, like http://whois.AtYourServer.com/whois?ip=x.x.x.x"
1) Download the project from https://sourceforge.net/projects/jwhois/
2) Run ./build-jwhois.sh
3) Setup the war-file on you local Tomcat
4) In the clients that call this, setup the URL in GeoIpService.properties so it points to your local server
5) Call from Java: JWhois.lookup(String nameOrIPv4)


How to run "(C) Inline in Java, where the whois-in-memory-database is running at whois.less-is-more.dk/whois?ip=x.x.x.x"
1) Download the project from https://sourceforge.net/projects/jwhois/
2) In the clients that call this, setup the URL in GeoIpService.properties so it points to whois.less-is-more.dk/whois?ip=x.x.x.x
3) Call from Java: JWhois.lookup(String nameOrIPv4)


How to run "(D) Inline in Java, where the whois-in-memory-database that returns all text-data like the whois command, but only for RIPE's IPs"
1) Download the project from https://sourceforge.net/projects/jwhois/
2) Run ./build-jwhois.sh
3) Run ./build-ripeinfo-db-file-with-intellij-build.sh 4) Set in GeoIpService.properties: runLocal=true
5) RipeIpService.getInstance().lookup("213.150.56.140")