1
vote
1answer
231 views

php ping test and redirect

I am trying to get a basic php ping script working that will ping my sites ip and if it responds will redirect the user to my site however if it doesn't it will redirect the user elsewhere. I've ...
0
votes
1answer
121 views

Java ip pinging [closed]

When I ping addresses in Java I use this code to test if they are reachable reachable = (InetAddress.getByName(host).isReachable(5000)); I get host from database. So my problem is, I need to ...
0
votes
1answer
69 views

How to do an if statement for URL resolve to a certain IP address?

If I use an URL www.stackoverflow.com then it'll resolve to an IP address of 31.13.72.49. This is no problem, I know how to do that with a simple code: InetAddress add = ...
2
votes
1answer
99 views

Host local web page from Android app

I've just started using an app called "wifi file transfer". The way it works is that you run the app on your phone, the phone hosts a webpage and you can access it from any computer on that network ...
0
votes
1answer
34 views

Specify an ip for an url in a Jenkins Job

I have the following situation. The webapp in my company is deployed to several environments before reaching live. Every testing environment is called qa-X and has a different IP Address. What I ...
0
votes
3answers
366 views

test if hostname exists from command line without ping

we have a script that needs to take action on a finite list of hosts. but every time we add or remove a host to the /etc/hosts file, we end up having to update this script. basically, say my hosts ...
0
votes
0answers
51 views

JBoss VPS External ip settings - working fine in local browser but not in external

On beforehand I have to say i'm a bit of a newbie. I've sucscribed to a VPS with Ubuntu 11.04 server, I installed Jboss and am starting it with the -b 0.0.0.0 option. Now if I lookup the address ...
0
votes
2answers
75 views

Changing Ip to HostName

I always connect to my VM using the IP address. But am not able to connect using the hostname. Now when I try to access webservices configured on that machine i cannot do so as it gives me a hostname ...
0
votes
0answers
59 views

host ip address range [closed]

I am trying to find out the range of IP addresses in a particular network (i.e. of an organization), including all mail servers, etc. Is there someway to determine this via a Linux command?
0
votes
1answer
329 views

how to identify duplicate packets

When a host needs to resend a packet (whatever the payload), is there any field in the header that gets modified, so that you can tell that it is a duplicate packet?
2
votes
0answers
124 views

C# fetching host information from Skype user

I am working on a server infastructure that adjusts it's connectivity settings, according to the Ip address of my customers, for which my employees talk to over skype. To be more time efficient, I ...
1
vote
0answers
210 views

Skype API Fetching Host information

I am developing an application in c# that requires the hostname or ip address of a specific skype user, so that my server infastructure can establish itself appropriatly to the specific customer that ...
0
votes
0answers
222 views

Update linux dns resolver IP for different host [closed]

So we have an authentication server at work whose IP address will be changing, but the original IP will stay active for whatever reason. They informed me that I need to update my dns resolver so that ...
1
vote
2answers
151 views

UnknowHostException android client socket

I am getting the exception java.net.UnknowHostException:http://arbitrary-hero.dyndns.org/. I am attempting to connect to the address with a android client application I have made. I have two ...
0
votes
4answers
270 views

Hosting with Static/Fixed IP Address

I have been search for a host that has static/fixed ip address. Right now i use mediatemple's grid server and because it is a shared environment the ip address is dynamic and changes randomly. My ...
0
votes
1answer
486 views

How to set multiple host on apache under one ip address

I'd like to know if it's possible to set multiple host (websites) under one ip address on apache server (running on my centOs server). Problem is, i have no domain name yet, only one single ip address ...
0
votes
5answers
140 views

Web sites associated with the same IP address

How does a web server recognize which URL to serve when there are multiple web sites (hostnames) associated with the same IP address?
0
votes
1answer
281 views

No-IP host site with a dynamic ip adress

I was searching for a solution about hosting a site with a dynamic IP. Is it possible? I'm just annoyed of reuploading the code & database dump every time I want to show something to a friend. ...
1
vote
4answers
3k views

How do I check if an IP is alive in java?

There are 5 devices in my network with different IP addresses. I wish to connect to these devices and get data from them over TCP/IP socket when they are available in my network. How can I check if ...
0
votes
1answer
163 views

redirect to web especifing ip and host

There is a way to specify an ip and a host to redirect to a web? I mean if i have a server in the ip 190.50.60.30, a virtualHost in this named domain1.com and i want to redirect from another web to ...
2
votes
3answers
2k views

Does InetAddress.getLocalHost().getHostAddress(); involve DNS-Server?

With the following code InetAddress.getLocalHost().getHostAddress(); it is possible to get the hosts address. But how does the JVM find that out? The Java API only tells you that it returns it ...
0
votes
4answers
355 views

PHP fastest way to check list of domains

I have a list of 20.000 domains I want to resolve into IP addresses. I am looking for the fastest way to do that in php. I used gethostbynamel() but that is too slow. I am looking for another command ...
0
votes
1answer
313 views

getting ip address from host name in BlackBerry 6

Please let me know whether there is way to get the IP address of server from it's domain name. for example: Domain name is : http://www.gmail.com then i want api like public String ...
2
votes
1answer
971 views

Ubuntu: gethostbyaddr Returns NULL with HOST_NOT_FOUND Error

My machine is Ubuntu Server 10.10. I have the following code snippet: #include <netdb.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include ...
0
votes
0answers
176 views

How get all identifiers of a host using c++?

In my c++ application I want to detect if two host identifiers (name or/and IP) are pointing to same host (including local and net IPs). For example "google.com" and "209.85.148.105" are same, ...
2
votes
5answers
2k views

Redirect requests for external IP's to a local IP

Greetings. I am working on a project form my company. We have an application that was written by one of our old techs - he was fired for browsing pornography websites work. Unfortunately, he took the ...
0
votes
2answers
6k views

converting host to ip by sockaddr_in gethostname etc

i need help converting hostname to ip and inserting to sockaddr_in->sin_addr to be able assign to char. For example i input: localhost and it gives me 127.0.0.1 I found code, but i dont know why it ...
0
votes
1answer
133 views

How can a VM work out the address of the host node?

How can a Linux VM work out the IPaddress of the host node? I need to connect to the IP address of the host node. I also need to know when it changes as it could be a dynamic IP. I need it to connect ...
0
votes
1answer
177 views

Python: Grab the A record of any URI?

I basically want to implement something where you can type in any URI ( I probably will only deal with http ) and I want to return the A record of the domain in the URI, I want the server's IP ...