ip-address

How to find out if the if a site user is unique or a returning user in ASP.NET?

A single user can show up as multiple unique users over a period of time when he vists a site. Internally, the user's IP address is static, but on the net the user is represented by the ISP router's IP address, isn't it? ...

Getting the current ip address from within a application (VC++ 2005)

Hi, I would like to send an email from an application that contains the current ip address of the machine. I have the email code in place and it works. I just need to add the ipaddress to the body of the email (ie I am not doing anything programmatically with the IP address). I was hoping there was a really simple way like running ipc...

website/webserver outbound ip address

I am hoping there is a simple answer to this! My webserver has a number of IP addresses. one particular website has one of these IP addresses mapped to it. On said website, I have a java applet which is making outbound http requests. Now, I am wondering what is the IP address that people will see for my server? Will they see the machine...

234.x.x.x IP address - what is it

I've done a fair bit of UDP socket programming in the past, but have only ever heard of the usual reserved IPs: 127.0.0.1 192.168.x.x 10.x.x.x But from an IP2Location it says multicast. Is 234.5.5.1 an actual IP address or reserved? ...

How do you get the IP address from a request in ASP.NET?

I have been trying to figure this out but cannot find a reliable way to get a clients IP address when making a request to a page in asp.net that works with all servers. ...

Need a .NET WinForms IP Address Control

I need a robust, user-friendly, professional-looking .NET WinForms IP address control for use in a project I'm working on. This control, at a minimum, should support IPv4 addressing and ideally would support IPv6 addressing as well. I would prefer a free control with C# source code, but don't mind paying for one. I am using .NET 3.5 S...

How to get the ip of the computer on linux through Java ?

Hello, How to get the ip of the computer on linux through Java ? I searched the net for examples, I found something regarding NetworkInterface class, but I can't wrap my head around how I get the Ip address. What happens if I have multiple network interfaces running in the same time ? Which Ip address will be returned. I would reall...

Obtaining Own External IP Address in POSIX C

I'm looking to obtain my own IP Address in order to publish that information in to a Peer-to-Peer network. In POSIX/C we have getaddrinfo(NULL, ...), but this always seems to returns INADDR_ANY or INADDR_LOOPBACK, which is useless to me. Any suggestions? ...

Checking visitors IP against a table of IPs. Some wildcards.

I have a script that loops through an array of IP's and checks the clients IP against them. //filter IP address list $ip = array(); $ip[] = '10.10.5.*'; $ip[] = '234.119.260.65'; $ip[] = '234.119.254.2'; function testIP($ip){ //testing that correct IP address used for($i=0, $cnt=count($ip); $i<$cnt; $i++) { $ipregex = preg_replace...

Getting my ip address

Hey! I have a computer on a small network, so my ip is 192.168.2.100. I am trying to get my real ip. I download the no-ip client but that just seems like a lot of trouble for such a simple thing. I created this php script that got http://www.ip-adress.com/ page and retrieved the ip it gave me. Is there a simpler way? Either using C, ...

What does it mean when I see some IPs look at hundreds of pages on my website?

What should I do when I see some IP in my logs scrolling through 100s of pages on my site? I have a wordpress blog, and it seems like this isn't a real person. This happens almost daily with different IPs. UPDATE: Oh, i forgot to mention, I'm pretty sure it's not a search engine spider. The hostname is not a searchengine, but some rando...

How to get IP address from Webbrowser Control Windows Forms

Anyone know how to do this? Can it be done? ...

Do we have to buy a domain to serve Bugzilla?

I tried putting my IP from whatismyip.com in the urlbase of Bugzilla but it did not work. I wasn't able to create a new account for my team mate, and he wasnt able to access the server by typing the my ip address in his browse. And surely, when I connect again, my IP address will change. Do we have to buy a www address to host Bugzilla? ...

Log when file is requested from server

I need a way to log an entry into a database, everytime a particular file is requested from the server. The file can be any type, even images or other media. Is it also possible to log which IP address or hostname has requested that file? ...

Navigating to IP address shows different page than navigating to hostname?

Hi, I'm looking at a web site we'll call www.example.com . A quick traceroute www.example.com shows that its IP address is 208.76.xx.xxx . When I browse to "www.example.com" in Firefox, I am shown the web site (a login page). However, when I browse to 208.76.xx.xxx , I am shown a default "Welcome to cPanel!" web page. Here is some mor...

Page.Request.UserHostAddress is in an invalid format

Sometimes my ASP.NET application returns a value of "::1" when querying Page.Request.UserHostAddress. I can't see any pattern as to when it returns a correct IP address vs when it returns the incorrectly formatted string. It will work for half a day and then stop working for an hour randomly. Any thoughts? Edit: Okay, it's the loopbac...

Get IP Address of the requested client (Soap message)

Hi guys, I builded a ASMX Service and in the code that process an Error Log that comes from ELMAH. I add into the database all the fields and I add some more, one is the IP Address of the requested client... But I can't (please read, don't know how to) get that... I'm used to string ipAddress = HttpContext.Current.Request.ServerVari...

How to use IPAddress and IPv4Mask to obtain IP address range?

I'm trying to accomplish the following in C#/.NET 2.0: Given an IPAddress object (say, 192.168.127.100) and another IPAddress object containing the IPv4Mask / subnet mask (say, 255.255.248.0), I should be able calculate the start and end of the IP Address range. (Yes, I'm trying to do a for-loop thru a range of addresses on a subnet.) ...

Changing a Windows CE machines IP address programatically?

How do I change the IP address of a Windows CE machine? I want to do it from .NET Compact Framework! ...

How can I create a control with IPAddress properties that can be edited in the designer?

I'm creating a control with properties of type System.Net.IPAddress. The designer shows these as read-only, and seems to be matching them up with resources. Is there a way to make it so that the user can edit these properties in the designer properties window, rather than having to open up the resource editor? ...