Skip to main content

Questions tagged [ip-address]

An Internet Protocol address (IP address) is a numerical label assigned to each device in a computer network that uses the Internet Protocol for communication. This is a general tag that covers both IPv4 (like 172.168.100.1) and the newer IPv6 (like 2012:da8:0:1234:7:577:8:2). If you specifically mean any of these, use IPv4 or IPv6 tags.

0 votes
0 answers
8 views

Preserve client IP address from OVH load balancer

Goal Set up preserved client addresses with the Istio controller. What's Wrong with the OVH Tutorial: I followed OVH's guide to preserve client IP addresses. However, it didn't solve the issue. OVH ...
218 votes
48 answers
598k views

Validating IPv4 addresses with regexp

I've been trying to get an efficient regex for IPv4 validation, but without much luck. It seemed at one point I had had it with (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?(\.|$)){4}, but it produces some ...
736 votes
50 answers
1.0m views

Finding local IP addresses using Python's stdlib

How can I find local IP addresses (i.e. 192.168.x.x or 10.0.x.x) in Python platform independently and using only the standard library?
66 votes
7 answers
141k views

Getting IPV4 address from a sockaddr structure

How can I extract an IP address into a string? I can't find a reference that tells me how char sa_data[14] is encoded.
-1 votes
1 answer
150 views

How to fetch user's (my) public IP address inside AWS CloudShell?

I'm not looking for the public IP address of CloudShell; I know that I can find it out by hitting some external website. I would like to find out what my public IP address is when I'm connected to ...
23 votes
6 answers
12k views

How to sort list of Ip Addresses using c#

I've a list of IP addresses as follows 192.168.1.5 69.52.220.44 10.152.16.23 192.168.3.10 192.168.1.4 192.168.2.1 I'm looking for such a way to sort this list to match the below order 10.152.16.23 ...
68 votes
1 answer
208k views

how to get the ipaddress of a virtual box running on local machine [closed]

I need to connect to my virtual box running on my local machine to transfer files from my local system to VM by using WinSCP. How do I find the IP address? When I go to the settings and network tab, ...
3 votes
5 answers
11k views

convert ip address to a single number

I have a file which contains more than 100 ip addresses(dotted decimal.eg. 169.23.43.12). Now I need to read all the ip addresses and sort in ascending order. For this, first of all I tried to convert ...
0 votes
1 answer
2k views

View localhost from Iphone using MacBook Pro

So I am attempting to view my localhost from my Mackbook on my iPhone. I am attempting to do so through USB connection with developmental modes on in Safari in both devices. I've tried to connect to ...
9 votes
2 answers
2k views

How can an ASP.NET Core MVC app get client IP address when server is behind AWS ELB?

I'm running an ASP.NET Core MVC app on AWS in an Elastic Beanstalk environment that includes ELB. I use this code to get the IP address of the client: HttpContext.Connection.RemoteIpAddress.ToString(...
4 votes
1 answer
5k views

Flutter: Get local IP address on Android

How do I get the local IP address of my (Android) device in Flutter? This should be the local IP address I get assigned via DHCP by my router when connected to WIFI the local IP address in the VPN ...
0 votes
3 answers
612 views

Tracking an IP address

I want to track IP addresses of visitors to my blog. I don't know which blog I'm going to use, I'll use whichever one will work (i hear blogger doesn't work with php). Also, once I make the blog and ...
17 votes
6 answers
193k views

How can I convert IPV6 address to IPV4 address?

I have application that uses IPv4 addresses (it stores them as long), so it only understands IPv4 addresses. Is it possible to convert IPv6 address to IPv4 with Java?
193 votes
38 answers
322k views

Which terminal command to get just IP address and nothing else?

I'm trying to use just the IP address (inet) as a parameter in a script I wrote. Is there an easy way in a unix terminal to get just the IP address, rather than looking through ifconfig?
0 votes
0 answers
66 views

Azure AAD sign-in log IPs for ADFs do not match Public Azure IP Ranges

I have an app with conditional access turned on. I'm getting the IPs of my ADFs to add them to the policy. To find these IPs, I made a few sign in requests to the app from my ADFs, and looked in the ...

15 30 50 per page
1
2 3 4 5
259