ip

Webservices to IP restriction

Hi, I have built a webservices, but it can accessed by all poeple. I want to it only used by the IP which I assigned. it's possible can do it on the webservices code. I was using vb ...

Will IP Masking effects SEO Results / Ranking?

When users entering domain www.example.com, it has to check for the country from the IP and should redirected to some other language specific domain eg: www.example.co.in. Will the search engine crawler recognize both www.example.com and www.example.co.in? Will this effect the search engine ranking? Someone could guide me on the disadva...

PLESK direct www.domain.com to another server with a unique IP

Hello. I got a customer where I host mail and www address on my server with PLESK 9.2 I want to direct the www address to another IP address like this: Original: www.domain.com -> IP: 1.2.3.4 mail.domain.com -> IP: 1.2.3.4 webmail.domain.com -> IP: 1.2.3.4 New: www.domain.com -> IP: 22.22.22.22 mail.domain.com -> IP: 1.2.3.4 webmail....

C#: get Client-IP after ProxyPass

My ASP.NET application checks the IP of the calling client. But I have to host it behind a Linux-Box where Apache redirects it to an internal Windows 2003 Server running IIS like: ProxyPass /srs http://192.168.21.15/srs/ where 192.168.21.15 is the internal IP of the Windows-server, and 192.168.21.1 the internal IP of the Linux box ...

Store IPv6 in database

What's the best practise to store IP's with PHP in MySQL database? There's a function called ip2long - but this is just for IPv4. But what about IPv6? I know a php function that is for IPv6 IP's, but it doesn't work on Windows with PHP < Version 5.3 ...

Getting the source address of an incoming socket connection

i have a server with a incoming socket from a client. i need the get the ip addr of the remote client. tried searing google for in_addr but its a bit troublesome. any suggestions? thanks ...

Extract IP from connection that listen and accept in socket programming in Linux in c

From this code I open a socket (server) and listen for incoming request when someone request accept this and save file descriptor (FD) in newsockfd how to extract IP for requester ? int sockfd, newsockfd, portno, clilen; portno = 8090; clilen = 0; pthread_t serverIn; struct sockaddr_in serv_addr, cli_addr; sockfd = socket(AF_INET, SOC...

How to tell curl to use clients ip not the servers?

hi, i am using curl to get some info from a website, however it uses the server ip address but i want it to use the client ip address, so each user send request with their own ip not the servers, how is that possible? $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "URL"); curl_setopt($ch, CURLOPT_FAILONERROR, 1); curl_setopt($ch, CURL...

C++ Resolve a host IP address from a URL

How can I resolve a host IP address, given a URL in Visual C++? ...

How do I access my own website hosted in my machine?

Forgive me if this is a stupid question. I am running XAMPP (lite) for developing my website. I can access it through http://localhost/mysite I wanted to view it on another computer (just for testing purposes), so I went to whatismyip.com, got my ip address, and tried to access the site from another computer using http://xxx.xxx.xxx.xx...

How to get client IP from java server through xinetd ?

Hi, I am running a small java server through xinetd superserver. I'd like to get the originating client IP but I can't because streams are between xinetd and java (stin/stdout). Does somebody know how to get the client IP, without looking to xinetd logfile ? (seems a bad solution to me) Thanks ! ...

Need to block any IP on a computer by coding in .Net (C#). Anyone know the best/easiest way to do this?

I am playing around with a way to kick cheaters in Modern Warfare 2 (when you are the host). So far I have been able to use winpcap to sniff packages to identify the player names and their IPs. The next thing I need is a way to block all traffic (or just the target IPs UDP traffic to my machine). Hence the player will timeout/lagout. D...

How to calculate an IPv6 IP Number?

I'm adding GeoIP tracking to WCF Web Service using MaxMinds' GeoIP Lite Country. All works well for their IPv4 database but they don't give any samples to calculate an IPv6 IP Number. I've contacted them and they said to use a search engine. Anyone have a sample they're willing to share? Any language will do. ...

How to locate device on network?

Hello CodeLath, maker of the TonidoPlug walwart, provides a web server to locate the Plug on the LAN: http://www.tonidoplug.com/ip/ I'm curious to know how a script located on some web servers on the Net manages to find the IP address of a device located on my LAN that uses the non-routable, private address plan 192.168.x.x. If it fa...

(.NET) ServicePoint.IPEndPointDelegate doesn't callback with proxy?

I need to bind the local ip address for an HttpWebRequest (machine has multiple ips). I create the delegate method, and this is called and the ip is bound for requests without a proxy, but once i add proxy details to the request, the callback never occurs How can i bind the outgoing ip address for HttpWebRequests that use a proxy? ...

select outgoing ip for curl request

I have a server with two different IPs. I need to send odd curl requests from first IP, and even from the second one. How can i select outgoing ip address? my php script is something like this: $curlh = curl_init($url); curl_setopt($curlh, CURLOPT_USERAGENT, $uagent); curl_setopt($curlh, CURLOPT_RETURNTRANSFER, true); $result = curl_ex...

How to get the IP address of a remote host from its Ethernet address ?

I'm looking for some Linux code to find an IP address from an Ethernet address. I suppose I have to do some inverse ARP trickery but I don't find any example... ...

Connecting to device behind firewall

I have a wpf app that needs to communicate(exchange data) with a custom designed device (we can modify the code for the device). Do I have any options to connect to the device if it is behind a firewall via http? I was hoping there would be a method where the admin would not have to forward any specific ports or do anything on his end. I...

After Port Forwarding, how to get my external IP in Java ?

I set up a static IP and did port forwarding on my notebook, and now I have a static IP address, but it's relatively static, every time I re-start the machine, I get another address, and since I have a "static" IP I can now do Paypal IPN messaging. But how can I get this static IP from my Java program ? One way I can think of is to visit...

Why my own external IP doesn't work for me ?

After setting up static IP and port forwarding, I ran my servlet and replaced "localhost" with my external IP [ got from http://portforward.com/ ], but it failed to get any info from my servlet, why ? I thought if I use "localhost", the browser just gets the info from my own PC without getting onto the Internet, basically a local trip, ...