How bad is IPv4 address exhaustion really?

It’s very bad. Here is a list of examples of what I have first hand experience with consumer ISPs doing to fight the shortage of IPv4 addresses: Repeatedly shuffling around IPv4 blocks between cities causing brief outages and connection resets for customers. Shortening DHCP lease times from days to minutes. Allow users to choose if … Read more

What’s the difference between IP address 0.0.0.0 and 127.0.0.1?

The only thing is that you’re not saying “all addresses should have access” — that’s done in your firewall(s) and/or the server software and/or other security layers like tcpwrappers. 0.0.0.0, in this context, means “all IP addresses on the local machine” (in fact probably, “all IPv4 addresses on the local machine”). So, if your webserver … Read more

How to find Port number of IP address?

Unfortunately the standard DNS A-record (domain name to IP address) used by web-browsers to locate web-servers does not include a port number. Web-browsers use the URL protocol prefix (http://) to determine the port number (http = 80, https = 443, ftp = 21, etc.) unless the port number is specifically typed in the URL (for … Read more

How to get client’s IP address using JavaScript?

I would use a web service that can return JSON (along with jQuery to make things simpler). Below are all the active free IP lookup services I could find and the information they return. If you know of others, then please add a comment and I’ll update this answer. Abstract  Run code snippetExpand snippet Limitations: 10,000 requests … Read more