Tools

Home Page


Programming
  • Articles
  • Tools
  • Links

Consultancy


Shop


Contact

 




Public IP Address

Get a web page just containing the client's public IP address: https://www.perceler.com/getipadr1.php returns "18.97.9.172"

The public IP address is the one seen by web servers, it may be different from the local IP address (as reported by IPCONFIG) due to intermediate devices, such as gateways, that may rename your IP address (e.g. NAT, Network Address Translation).


C# example   VB.NET example   C++/CLI example   Java example   PHP example   Hide example


On all kinds of systems this Java method can be used to get your public IP address:

import java.io.*;
import java.net.*;

public static String getIpAddress() throws MalformedURLException, IOException {
    URL url=new URL("https://www.perceler.com/getipadr1.php");
    HttpURLConnection conn=(HttpURLConnection)url.openConnection();
    conn.connect();
    InputStream stream=(InputStream)conn.getContent( );
    InputStreamReader inStream=new InputStreamReader(stream);
    BufferedReader reader=new BufferedReader(inStream);
    String s=reader.readLine();
    reader.close();
    inStream.close();
    stream.close();
    conn.disconnect();
    return s;
}

Web Checks

PHPinfo

$_SERVER

Log HTTP(s) network traffic with Fiddler.

test IPv6.

test IPv6.

Check a web site is alive (Google, CodeProject, Genious).

Test your internet bandwidth #1.

Test your internet bandwidth #2.

www.modern.ie, check your HTML code.

Validate HTML or XHTML code.

Hexometer. Website Hygiene Attendant..

Web browser security.

Web master tools.

DNS tools.

What is my IP address?

What is my DNS?

HTTP status codes.

Test your IPv6 connectivity.

Get your IPv4 address and locate it.

Test for Internet Explorer compatibility.

Get fonts, colors, image sizes.

Mobile-friendly test.

Website grader How strong is your website?

Add Expires headers to .htaccess

Have I Been Pwned?

Test how mobile-friendly your site is.

Blacklight, a Real-Time Website Privacy Inspector


Identifying the browser

This site uses the 'user agent' to identify the browser.

User agent: CCBot/2.0 (https://commoncrawl.org/faq/)

Browser family:

Browser family and version:

using these codes: IE = Internet Explorer, ED = Edge, FF = Mozilla Firefox, SA = Apple Safari, CR = Google Chrome, OP = Opera


Each time it is called, this page counts the cookies it finds, then creates or updates one cookie with a three-minute expiration time.

No cookies found

This page also checks JavaScript is running well.

JavaScript is disabled




Perceler

Copyright © 2012, Luc Pattyn

Last Modified 06-Feb-2026