About 214,000 results
Open links in new tab
  1. Determine the network and host ID portion of an IP address

    Dec 28, 2011 · The host and network portions of an ip address have nothing to do with public and private. If the subnet mask is a value smaller than 255 the corresponding octet in the IP …

  2. Provide static IP to docker containers via docker-compose

    I'm trying to provide static IP address to containers. I understand that I have to create a custom network. I create it and the bridge interface is up on the host machine (Ubuntu 16.x). The …

  3. What is IPv6 for localhost and 0.0.0.0? - Stack Overflow

    Oct 22, 2016 · As we all know the IPv4 address for localhost is 127.0.0.1 (loopback address). What is the IPv6 address for localhost and for 0.0.0.0 as I need to block some ad hosts.

  4. windows - get IPv4 address into a variable - Stack Overflow

    Is there an easy way in PowerShell 3.0 on Windows 7 to get the local computer's IPv4 address into a variable?

  5. How to convert string to IP address and vice versa

    Mar 16, 2011 · how can I convert a string ipAddress (struct in_addr) and vice versa? and how do I turn in unsigned long ipAddress? thanks

  6. regex - Validating IPv4 addresses with regexp - Stack Overflow

    IPv4 address (accurate capture) Matches 0.0.0.0 through 255.255.255.255, but does capture invalid addresses such as 1.1.000.1 Use this regex to match IP numbers with accuracy.

  7. What is the syntax format for a range of IPv4 addresses called and …

    Oct 15, 2022 · You use slash notation differently for IPv4 and IPv6 addresses. IPv4 Slash notation is a compact way to show or write an IPv4 subnet mask. When you use slash notation, you …

  8. How to validate IP address in Python? - Stack Overflow

    Regarding import ipaddress, when I passed an IPv4 address, I got output like IPv4Address('127.0.0.1'). But when I tried to convert it to string to check if it contains IPv4 or …

  9. python - Using a RegEx to match IP addresses - Stack Overflow

    It will match IPv4 addresses. It will also match things that look like IPv4 addresses but aren't, so it's not an IPv4 address validator. But it is still valuable for parsing IPv4 addresses in places …

  10. check if a string matches an IP address pattern in python?

    Also, are the IP address IPv4 only (and none are IPv6) then you could just look up what valid address are and use split() (to get individual components of the IP) and int() (to type-caste for …