tagged [ip]
Which terminal command to get just IP address and nothing else?
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...
- Modified
- 18 Aug at 13:54
IP to Location using Javascript
IP to Location using Javascript I can get User IP by this code... I want to find location of this IP. How can I?
- Modified
- 8 Feb at 19:40
How do I get the NetBIOS name of a machine from IP in C#?
How do I get the NetBIOS name of a machine from IP in C#? Given the IP address of a machine how do I get its NetBIOS name programmatically in C#? I know I can get it from the command line through "nbt...
- Modified
- 16 May at 14:35
How to get a Docker container's IP address from the host
How to get a Docker container's IP address from the host Is there a command I can run to get the container's IP address right from the host after a new container is created? Basically, once Docker cre...
- Modified
- 8 Apr at 13:32
Best way to create IPEndpoint from string
Best way to create IPEndpoint from string Since `IPEndpoint` contains a `ToString()` method that outputs: > 10.10.10.10:1010 There should also be `Parse()` and/or `TryParse()` method but there isn't. ...
- Modified
- 20 Oct at 14:11
Validate IPv4 address in Java
Validate IPv4 address in Java I want to validate an IPv4 address using Java. It should be written using the [dot-decimal notation](http://en.wikipedia.org/wiki/Dotted_decimal), so it should have 3 dot...
- Modified
- 17 Apr at 22:53
How I Can Print The IP Of The Host
How I Can Print The IP Of The Host I'm learning C++ and i want to know how i can print the IP adress of the host machine, but remember that my program is a command line aplication(), but i don't want ...
How do I get the Local Network IP address of a computer programmatically?
How do I get the Local Network IP address of a computer programmatically? I need to get the actual local network IP address of the computer (e.g. 192.168.0.220) from my program using C# and .NET 3.5. ...
- Modified
- 2 Sep at 20:23
IPAddress.Parse() using port on IPv4
IPAddress.Parse() using port on IPv4 I'm trying to parse a string containing an IP address and a port using IPAddress.Parse. This works well with IPv6 addresses but not with IPv4 addresses. Can somone...
- Modified
- 14 Feb at 08:34
IPAddress.GetAddressBytes() method - what byte order?
IPAddress.GetAddressBytes() method - what byte order? What is the byte ordering of the 4-byte array returned by the `GetAddressBytes()` method of `IPAddress` class? [More on the GetAddressBytes method...
- Modified
- 17 Mar at 14:38
How to check if an IP address is within a particular subnet
How to check if an IP address is within a particular subnet I have a subnet in the format 10.132.0.0/20 and an IP address from the ASP.Net request object. Is there a .NET framework function to check t...
- Modified
- 30 Sep at 16:31
How to calculate the IP range when the IP address and the netmask is given?
How to calculate the IP range when the IP address and the netmask is given? When a IP-Range is written as aaa.bbb.ccc.ddd/netmask ([CIDR Notation](http://en.wikipedia.org/wiki/CIDR_notation)) I need t...
Detecting a change of IP address in Linux
Detecting a change of IP address in Linux Does anyone know a way to detect a change of IP address in Linux. Say I have dhcpcd running, and it assigns a new IP address, is there a way I can get a notif...
how to get the ipaddress of a virtual box running on local machine
how to get the ipaddress of a virtual box running on local machine 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 ...
- Modified
- 29 Aug at 14:16
does the user login restriction based on IP address support ipv6 for web application?
does the user login restriction based on IP address support ipv6 for web application? Does any one know how to restrict the user to login based on an IPV6 address for a web application in c# dot net? ...
- Modified
- 19 Dec at 23:40
Get IP address of client machine
Get IP address of client machine I am trying to get the IP address of client machine using C#. I am using the below code to get the IP address : But it is giving me the response in encoded format i.e ...
- Modified
- 16 Jan at 07:20
how to convert string to System.Net.IPAddress
how to convert string to System.Net.IPAddress how can i convert string to System.Net,IPAddress in C#/.net 3.5 i tried this but i got this error "Cannot convert type 'string' to 'System.Net.IPAddress'"...
- Modified
- 20 Aug at 12:41
How do I determine the local host’s IPv4 addresses?
How do I determine the local host’s IPv4 addresses? How do I get only [Internet Protocol version 4](https://en.wikipedia.org/wiki/IPv4) addresses from `Dns.GetHostAddresses()`? I have the code below, ...
- Modified
- 5 Mar at 13:47
How can I check if an ip is in a network in Python?
How can I check if an ip is in a network in Python? Given an ip address (say 192.168.0.1), how do I check if it's in a network (say 192.168.0.0/24) in Python? Are there general tools in Python for ip ...
- Modified
- 10 Feb at 22:30
How to get the primary IP address of the local machine on Linux and OS X?
How to get the primary IP address of the local machine on Linux and OS X? I am looking for a command line solution that would return me the primary (first) IP address of the localhost, other than 127....
Get client IP address in a WCF Service hosted using HTTPS 443 bindings
Get client IP address in a WCF Service hosted using HTTPS 443 bindings In one of my application in need client IP address in a WCF Service hosted using HTTPS 443 bindings. and i tried most of the post...
- Modified
- 15 Jun at 09:59
Get IP address of visitors using Flask for Python
Get IP address of visitors using Flask for Python I'm making a website where users can log on and download files, using the [Flask micro-framework](http://flask.pocoo.org/) (based on [Werkzeug](http:/...
- Modified
- 25 Jan at 16:42
How to sort list of Ip Addresses using c#
How to sort list of Ip Addresses using c# I've a list of IP addresses as follows I'm looking for such a way to sort this list to match the below order
- Modified
- 17 Jun at 16:46
Find the IP address of the client in an SSH session
Find the IP address of the client in an SSH session I have a script that is to be run by a person that logs in to the server with [SSH](http://en.wikipedia.org/wiki/Secure_Shell). Is there a way to fi...
- Modified
- 24 Jan at 16:0