Top "Ip" questions

This tag is for questions related to the Internet Protocol.

How to check an IP address is within a range of two IPs in PHP?

I have an IP address and I'm given two other IP addresses which together creates an IP range. I want …

php ip range
Calculate broadcast address from ip and subnet mask

I want to calculate the broadcast address for: IP: 192.168.3.1 Subnet: 255.255.255.0 = 192.168.3.255 in C. I know the way (doing fancy bitwise OR's …

c ip broadcast subnet
Giving a docker container a routable ip address

I am running this on ubuntu 14.04 and have set docker0 to a static ip which is then routed to from …

ip docker iptables boot2docker
how to disable direct access to a web site by ip address

I have a website on a VPS. The issue I am having is that when I enter the IP of …

nginx dns ip server cloudflare
Getting my public IP via API

Is there a public API from some big company to get my public ip from within a program? I've found …

api ip
MySQL error: Can't get hostname from your ip address

I use my remote MySQL database during long time. But today I suddenly have found that I cannot connect to …

mysql ip hostname
ifconfig and interfaces

just a question for my understanding. on my mac when I use ifconfig command on my mac I get the …

macos interface ip ifconfig
How to get client IP and Server IP using Rails

Can anyone please help how to get client IP and also server IP using Ruby on Rails?

ruby-on-rails ip
Working with IPv6 Addresses in PHP

After searching around somewhat thoroughly, I noticed a slight lack of functions in PHP for handling IPv6. For my own …

php ip ipv6
How to refer to all IPs using an IP Range e.g. XX.XX.XX.XX / 24

How can I refer to all IPs using an IP Range e.g. XX.XX.XX.XX / 24?

networking ip